Below you can see the front-view size comparison of the Canon M5 and Olympus E-M5 II. The Olympus E-M5 II is 4 mm shorter and 16 mm thinner than the Canon M5 but it is also 8 mm wider.
The chart below depicts how two cameras compare with average dimensions of the cameras in their class.