Samsung A34 5G and A54 5G have 3 rear cameras and a selfie camera though while the A34 5G selfie camera is housed in its Infinity-U display cutout, the A54 5G selfie camera is housed in its Infinity-O display cutout.
The Galaxy A34 5G is equipped with a 48MP primary camera with OIS, 8MP ultrawide camera, and 5MP macro camera at the back. The device uses a 13MP front-facing camera.
As for the Galaxy A54 5G, it is equipped with a 50MP primary camera with OIS, 12MP ultrawide camera, and a 5MP macro camera at the rear. It then uses a 32MP selfie camera.
At the rear, the arrangement of the triple camera system is very similar on both devices. It will be very hard to distinguish them from one another if placed side by side with the display facing down.
But as soon as you check the display, it becomes obvious which one is the A34 5G and which one is the A54 5G.