-
Notifications
You must be signed in to change notification settings - Fork 52
Camera 'zoomed-in' in landscape mode with Camera2 #10
Comments
@thiyagab what is your Camera2 error in landscape mode? I am finding that |
Sorry, the app was originally not intended to be used in landscape mode. As seen on the AndroidManifest.xml activity |
Thanks for your reply @EzequielAdrianM. Having looked at it further, I see you're definitely correct that the Face Detector only picks up face in portrait (which makes sense). Although that could be overcome by making sure the detector is seeing the face in portrait. If I get a chance, I'll look into this further and make a PR if I can. |
When we use the sample in landscape mode, the whole sample starts to act weird and the camera preview seems to be zoomed in, I tried the same with Camera1 mode manually overriden, it worked fine, there is something wrong with Camera2 implementation in landscape mode.
Otherwise the code is really great and helpful
The text was updated successfully, but these errors were encountered: