Below you can see the front-view size comparison of the Panasonic TS5 and Olympus TG-4. The Panasonic TS5 is 2 mm narrower and 2 mm thinner than the Olympus TG-4 but it is also 1 mm taller.
The chart below depicts how two cameras compare with average dimensions of the cameras in their class.