vision-camera-face-detector-plugin
v0.8.1
Published
A Face detector plugin used for react-native-vision-camera
Downloads
6
Readme
vision-camera-face-detector-plugin
A Face detector plugin used for react-native-vision-camera
Requirement
Android Minsdk: 26
IOS target platform: 13
Installation
npm install git+https://code.vng.vn/myVNG/vision-camera-face-detector.git#feat/v3
or
yarn add git+https://code.vng.vn/myVNG/vision-camera-face-detector.git#feat/v3
for Yarn 3+
yarn add vision-camera-face-detector-plugin@git+https://code.vng.vn/myVNG/vision-camera-face-detector.git#feat/v3
Usage
import { detectFace } from 'vision-camera-face-detector-plugin';
// ...
const frameProcessor = useFrameProcessor((frame) => {
'worklet';
const response = detectFace(frame);
}, []);
// ...
Develop
brew install jq
If you already had jq, ignore the script above:
Install dependencies
yarn
For release new version:
yarn release
Commit rule: https://github.com/conventional-changelog/commitlint/tree/master/@commitlint/config-conventional#type-enum
Run example
Android:
yarn example android
iOS:
yarn example ios
License
MIT