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

fix #32 - thanks to @mrousavy #33

Closed luicfrr closed 2 months ago

luicfrr commented 2 months ago

Passing options to initFrameProcessorPlugin as a second argument which passes them to the native plugin constructor instead of passing along on each call (callback)

This is much more efficient.