googlesamples / googlesamples/mlkit
[Bug report] Face/Face Mesh not detected when device is rotated.
Open
- Dominant language
- Kotlin
- Stars
- 4.3k
- Forks
- 3.1k
- PR merge metrics
- No merged PRs in 30d
Description
**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.
- com.google.mlkit:face-detection:16.1.5
- com.google.mlkit:face-mesh-detection:16.0.0-beta1
**Smartphone:**
- Device: Pixel 3a
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.