googlesamples / mlkit

A collection of sample apps to demonstrate how to use Google's ML Kit APIs on Android and iOS
Apache License 2.0
3.45k stars 2.9k forks source link

[Bug report] Face/Face Mesh not detected when device is rotated. #619

Open gab07 opened 1 year ago

gab07 commented 1 year ago

Describe the bug When you rotate your device (landscape/upside down) no face is detected.

To Reproduce Example Steps to reproduce the behavior in sample app:

  1. Open the sample app
  2. Pick Java or Kotlin (happens on both)
  3. Select LivePreviewActivity
  4. Select Face Detection or Face Mesh Detection
  5. Rotate the device

Expected behavior Detect faces when the devices is rotated.

SDK Info: Only tested on Android.

Smartphone:

giordy16 commented 3 weeks ago

Hi, did you had any update?