A React Native Camera and Player for MediaPipe applications.
npm install react-native-mediapipeA React Native Camera and Player for MediaPipe applications.
1) Install react-native-mediapipe from npm:
``sh`
npm install react-native-mediapipe react-native-vision-camera react-native-worklets-core`
or Install react-native-mediapipe from yarn:sh`
yarn add react-native-mediapipe react-native-vision-camera react-native-worklets-core
`js`
import { MediaPipeCamera } from "react-native-mediapipe";
2) In your babel.config.js file
``
module.exports = {
presets: ['module:@react-native/babel-present'],
plugins: [['react-native-worklets-core/plugin']],
}
3) In your gradle/build.gradle file
``
buildscript {
ext {
...
minSdkVersion = 24 (Make sure that this is at least 24)
...
}
...
}`
4) If you're on IOS:
In your info.plist file in the outermost
``
then in your terminal:`
cd ios
bundle install (you only need to do this once)
pod install
4) If you're on Android:
In your AndroidManifest.xml file inside the
`
``
See the contributing guide to learn how to contribute to the repository and the development workflow.
Join the Community here!
MIT
See the License file for more information.
---
Made with create-react-native-library