Modified from Roboflow Infer object detection from webcam snippet
Tested using a Raspberry Pi with RPiCam module 2, and Jetson Nano as local Roboflow deployment.
-
Setup by installing requirements:
pip install -r requirements.txt
-
Setup Roboflow Inference on local or hosted.
-
Modify the Roboflow_config.json with your own values.
-
Run using:
python infer-simple.py
or
python infer-async.py