Replies: 5 comments 13 replies
-
|
Beta Was this translation helpful? Give feedback.
-
@luicfrr I was able to implement this, and making some logs, i am receiving always 270 degrees from this implementation and PORTRAIT from the frame coming from VC (which is 0 degrees). It is not changing when I rotate the phone, but i guess that is expected cause the app I working on is locked on portrait |
Beta Was this translation helpful? Give feedback.
-
PORTRAIT should come as 270 as right value (-90 degrees). if you do this map to send to the process from faceDetector
PORTRAIT will be 0 degrees when the right value should be 270, that is why the FaceDetector is not detecting anything |
Beta Was this translation helpful? Give feedback.
-
I have some notes in some tests I made: |
Beta Was this translation helpful? Give feedback.
-
Hey @luicfrr I think we could delete this since the last release of 4.5.0 of VC where orientations issues were handled |
Beta Was this translation helpful? Give feedback.
-
I'm not sure if orientation is well handled the way it is at this momment and don't know if it's gonna work on all devices.
As suggested on this comment, maybe the best way to determine device/camera orientation is using the bellow code:
Some adptations are needed for it to work with vision-camera but it's a good starting point.
Beta Was this translation helpful? Give feedback.
All reactions