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

Bug frameprocessor on ios #19

Open gh-pro opened 2 years ago

gh-pro commented 2 years ago

Hello, your plugin is still maintained? its not work on ios face.

calvin-f commented 1 year ago

Discovered this as well. For the bounds and contours only an empty object is returned. There is also a typo: cotours instead of contours.

What is returned in my case:

{
   "bounds":{},
   "cotours":{},
   "leftEyeOpenProbability":0.9956856369972229,
   "pitchAngle":-0.6998197436332703,
   "rightEyeOpenProbability":0.998312771320343,
   "rollAngle":-0.9800887107849121,
   "smilingProbability":0.002938583493232727,
   "yawAngle":-0.49999624490737915
}

On android everything works as intended...

calvin-f commented 1 year ago

A lot of the features which are missing in the latest release 0.1.8 are already implemented.

Try to install the package directly from master until a new release is triggered: yarn add https://github.com/rodgomesc/vision-camera-face-detector