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

Pose Detection sides are wrong when using front camera on iOS #703

Open
giora-gymijet opened this issue Oct 17, 2024 · 1 comment
Open
Labels
Pose Detection Issues corresponding to Pose Detection API stale

Comments

@giora-gymijet
Copy link

giora-gymijet commented Oct 17, 2024

Describe your issue. If applicable, add screenshots to help explain your problem.

When using pose detection plugin on iOS front camera, the detections switches between left & right.
For example:
poses[0].landmarks[PoseLandmarkType.leftWrist]
returns the data of the right wrist

Using the back camera is working as expected.
Using Android is working as expected.
Native iOS MLKit example is working as expected.

Steps to reproduce.

The example app paints the skeleton and colors each side with a different color.
Left - Yellow
Right: Blue Accent

  1. Open the example app using an iPhone
  2. Select the pose detection option
  3. Switch to front camera
  4. See that the right side is Yellow (should be Blue) and the left side is Blue (should be Yellow)

What is the expected result?

Using the front camera on iOS, the left side should be detected as left and right as right.

Did you try our example app?

Yes

Is it reproducible in the example app?

Yes

Reproducible in which OS?

iOS

Flutter/Dart Version?

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.24.3, on macOS 14.1 23B2073 darwin-arm64)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.1)
[✓] VS Code (version 1.94.0)
[✓] Connected device (3 available)
[✓] Network resources

• No issues found!

Plugin Version?

google_mlkit_pose_detection: ^0.12.0

@bensonarafat bensonarafat added the Pose Detection Issues corresponding to Pose Detection API label Oct 17, 2024
Copy link

This issue is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale label Nov 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Pose Detection Issues corresponding to Pose Detection API stale
Projects
None yet
Development

No branches or pull requests

2 participants