rodgomesc / vision-camera-face-detector

VisionCamera Frame Processor Plugin to detect faces using MLKit Vision Face Detector
MIT License
89 stars 65 forks source link

Inconsistent Face Tracking Experience on Android Compared to iOS #42

Open bglgwyng opened 1 year ago

bglgwyng commented 1 year ago

I have noticed that the face tracking feature on Android is more prone to instability when compared to iOS. It frequently loses track of faces, making it challenging to maintain a consistent bounding box across frames. On the other hand, I find the face tracking on iOS to be reasonably reliable.

I'm curious to know if others have encountered a similar issue. Despite using the same options for the face detector in both versions, I suspect that the inconsistency may stem from the ML Kit library itself.

To investigate further, I plan to assess the quality of face tracking on both Android and iOS using the same image file. I will share the results with you here as soon as possible.

salembaira commented 9 months ago

Hi @bglgwyng

Any progress?

bglgwyng commented 9 months ago

@salembaira No. I didn't have time to investigate it. Besides, this issue might be related to the difference between platforms in ML Kit's implementation, rather than this frame processor. Unfortunately, ML Kit is not open-sourced and it makes it very hard to solve this issue.