You can create the overlay by having an absolute view next to the camera. If you add pointerEvents="none"
to it, it should not interfere with the camera itself. Secondly, you can reduce the resolution of a photo with useCameraFormat
. This already reduces the size a bit. If you want it to be even lower, you could look into the snapshot
or quality balance
. See documentation. takeSnapshot
allows you to reduce the quality