-
Notifications
You must be signed in to change notification settings - Fork 25
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
[BUG 🐛] Detected face wrong orientation on Samsung A14 #69
Comments
I am facing this issue too, in android Samsung S22, Xiaomi Mi9T, Realme 5Pro... . I can't fix this error. I need you help me !!!! On iphone everything is ok, however on Android I have to rotate the phone 90 degrees or any other angle to be able to detect successfully. when Android in portrait mode, the detect result will always return [] |
@luicfrr |
@Aycom366 I'm really busy on another project these month, I didn't have time to even check new vision-camera releases. If you need an urgent patch maybe you should considerate on paying me for that then I'll work on it on my free/rest time. |
@edritech93 I just released 1.7.0 version. |
Hey! Is the version 1.7.0 working on vision camera 3.9.2? @luicfrr |
@frodriguez-hu no, for |
Closing this issue for now. |
@luicfrr Question, have you tried this to get the orientation? Suggested by Google
Cause for last vision camera version on my last test and with the last version of this library, it wasn't working properly either |
@frodriguez-hu I didn't tested it this way on kotlin. Anyway, I'll test this now on kotlin and give you credits if it works. If you already have this working on your device and want to create a PR I'll apretiate a lot. |
@luicfrr I do not have it working cause I wasn't able to implement it correctly, I can't mount the android project on android studio and when I want to start it with the changes I am not able to do it. I am not completely sure, I tried it again on a new project and it worked fine, but it is not working on my main project, I don't know it it could have conflicts with another dependency line reanimated maybe? I don't know, but is quite weird |
@luicfrr If I hardcode the rotation to 270 degrees it work properly, but it stop working on landscape and other orientations. And setting this condition to be always true
What would happen on other devices? All android devices start with an orientation of 90 degrees? |
@frodriguez-hu where are you hardcoding this And yes, in every device (android and ios), camera orientation is always -90deg rotated |
@luicfrr Sorry! I am using And the equivalent to the if a I mentioned is to hardcode to 270 degrees on |
@frodriguez-hu let's keep this conversation going on this discussion. |
wrong orientation when detected face
Device:
package.json
file:The text was updated successfully, but these errors were encountered: