stackxp
stackxp
> just rename the file from .txt to .pbtxt This won't work, because .pbtxt-files are structured differently. If you want to create one yourself, you could do something like this:...
Did you activate the virtual environment before running the command?
OpenCV returns None when an error occurs while reading a frame from a video source. Maybe this could be a reason for why it's not working. Is there something wrong...
Modifying the webcam.py script at line 32 could work: Change ```python3 self.stream = cv2.VideoCapture() ``` into ```python3 self.stream = cv2.VideoCapture("/dev/video0") ``` or ```python3 self.stream = cv2.VideoCapture("v4l2:///dev/video0") ``` or something like...
You could consider using threading or asyncio to create a seperate Thread whenever an object is on screen. Something like: ```python import espeak from threading import Thread # The script...
Maybe it has something to do with the code responsible for the actual objection detection (for example the box-drawing logic). Have you modified any part of the code? Or if...