Skip to content

Camera orientation #165

Closed
Closed
@jacquesfeng123

Description

@jacquesfeng123

I am trying to run FaceDetection on Unity.

When I run on my macbook, the FaceDetection works perfectly.

However, when I run on IOS or android, the facemesh is at best 90 degree rotated in the z axis, most often random, and quite often flashing (not being able to detect the face). The iris are also jumping all over the place.

Also each time I set the playerSettings - player - default orientation to different orientations, it goes nuts.

WebCamTexture.videoRotationAngle does not fix that.

I suspect it has to do with the auto-rotation/gyro capabilities of the phone, but I do not know how to fix that. Please Help.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions