TensorFlow-Lite-Object-Detection-on-Android-and-Raspberry-Pi
TensorFlow-Lite-Object-Detection-on-Android-and-Raspberry-Pi copied to clipboard
GPIO output when class is detected
trafficstars
Hello, I'd like to be able to Bring a GPIO pin high when a specific class or classes are detected on webcam, then go low when they are not. Can anyone point me in e right direction as to where to add the code to do this? Would it be in TFLite_detection_webcam.py?
dude search for the specific python package to control the GPIO. If the class is detected you can set the GPIO pin. The script youre using should contain that, so when your purpose is a livestream with a cam, YES.