This is an exeriment with the Camera
capabilities of @tensorflow/tfjs-react-native and using my phone's camera to capture and classify images on the fly. It uses the mobilenet model from Tensorflow.
Also experimented with capturing predictions from handpose (see the commented out code)
Make sure you have Expo installed on your development environment You will need an ios or android device with the Expo client
- Check out the code from this repository.
- In your terminal,
cd
to the project directory. - Run
npm install
- Run
expo r -c
The expo tools should launch from where you can build and run the example on your phone.