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
75 stars 16 forks source link

[BUG 🐛] [Android] faceDetectionCallback not detecting face on release mode #65

Closed mangjuned closed 1 month ago

mangjuned commented 1 month ago

Describe the bug: My previous version is

"react-native-vision-camera": "^4.0.0-beta.13",
"react-native-vision-camera-face-detector": "^1.4.0",
"react-native-worklets-core": "^0.4.0",

it's work fine in debug and release mode, but after updating to

"react-native-vision-camera": "^4.0.5",
"react-native-vision-camera-face-detector": "^1.6.3",
"react-native-worklets-core": "^1.3.3",

faceDetectionCallback not detecting face on release mode, but it's works fine in debug mode.

I have tryed: clean cache

Device:

package.json file:

{
   "dependencies": {
    "react-native-vision-camera": "^4.0.5",
    "react-native-vision-camera-face-detector": "^1.6.3",
    "react-native-worklets-core": "^1.3.3",
  }
}
luicfrr commented 1 month ago

I have not tested face-detector on vision-camera 4.0.5. I can't say if it's really working on this version.

Please use only tested versions (see README) so we can reopen this issue if it still happening.

ibrahim-developes commented 1 week ago

Doesnot work even on the version given in README

"react-native-vision-camera": "4.0.4", "react-native-vision-camera-face-detector": "^1.6.3", "react-native-worklets-core": "1.3.3",