luicfrr / react-native-vision-camera-face-detector

Vision Camera Frame Processor Plugin to detect faces using MLKit Face Detector
https://www.npmjs.com/package/react-native-vision-camera-face-detector
MIT License
77 stars 15 forks source link

IOS: The facial recognition do not work as expected in release mode #6

Closed tarikdev1 closed 4 months ago

tarikdev1 commented 4 months ago

Hello, the facial recognition work fine on debug mode, but do not work as expected on release mode

ENV :

     platform :ios, 13.4
    "react-native-reanimated": "^3.4.2",
    "react-native-vision-camera": "^3.9.0",
    "react-native-vision-camera-face-detector": "^1.2.3",
    "react-native": "0.72.3",

is there any special change should i put when i try to build the release version ?

thanks

luicfrr commented 4 months ago

What do you mean with "not working as expected"? What is happening with your app? Logs? Code?

tarikdev1 commented 4 months ago

the faces list is empty ?

luicfrr commented 4 months ago

If you rotate (lock phone orientation before) your phone to left, right or even upside down faces are recognized? As I know, vision camera have a orientation issue wich makes mlkit don't find any face on image, this might be the reason your facelist is empty.

luicfrr commented 4 months ago

Closing due to inactivity