Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

camera is mirrored #18

Open
krushia opened this issue Apr 26, 2023 · 3 comments
Open

camera is mirrored #18

krushia opened this issue Apr 26, 2023 · 3 comments
Labels
help wanted not going to fix it myself but I'll accept PR if it works

Comments

@krushia
Copy link

krushia commented Apr 26, 2023

On a Nexus 5X, the camera image is mirrored in both directions. This makes it hard to line up.

@sz3
Copy link
Owner

sz3 commented Apr 28, 2023

Hmm... Thanks for reporting this. I'll try to look into it.

@krushia
Copy link
Author

krushia commented May 4, 2023

Found some info about it here https://stackoverflow.com/questions/37560871/camera-is-inverted-in-nexus-device

@sz3 sz3 added the help wanted not going to fix it myself but I'll accept PR if it works label Aug 15, 2023
@sz3
Copy link
Owner

sz3 commented Aug 15, 2023

I forgot to respond to this. Sorry about that.

I think where I'm at on this is:

  1. it seems like (mostly) hardware specific behavior
    • android devs may protest that in fact they're following the standard and it's everyone else that is wrong, and they may be technically correct. But it seems to be only Nexus devices that use this rotation feature and as a result the rest of the world (including the opencv tutorial code I'm using) doesn't account for it.
  2. I don't have the hardware in my possession

If somebody wants to take a look at a change and make a PR to address this, I'll take it (and test it on the devices I can), but I'm unlikely to spend more time on it than that. If it's any consolation, if/when I get a web-based version of the decoder to work, I'd expect we won't be battling too much hardware specific stuff like this. (I hope... 😬 )

Marking as help needed to signify status...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted not going to fix it myself but I'll accept PR if it works
Projects
None yet
Development

No branches or pull requests

2 participants