0.8.1 • Published 2 years ago
vision-camera-face-detector-plugin v0.8.1
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/v3or
yarn add git+https://code.vng.vn/myVNG/vision-camera-face-detector.git#feat/v3for Yarn 3+
yarn add vision-camera-face-detector-plugin@git+https://code.vng.vn/myVNG/vision-camera-face-detector.git#feat/v3Usage
import { detectFace } from 'vision-camera-face-detector-plugin';
// ...
const frameProcessor = useFrameProcessor((frame) => {
'worklet';
const response = detectFace(frame);
}, []);
// ...Develop
brew install jqIf you already had jq, ignore the script above:
Install dependencies
yarnFor release new version:
yarn releaseCommit rule: https://github.com/conventional-changelog/commitlint/tree/master/@commitlint/config-conventional#type-enum
Run example
Android:
yarn example androidiOS:
yarn example iosLicense
MIT
0.8.1
2 years ago