YOLOX
YOLOX copied to clipboard
how to stop video from webcam and exctract results?
hi!
i use this code:
python3 /home/pi/YOLOX/tools/demo.py webcam --camid 0 -n yolox-tiny -c /home/pi/YOLOX/models/yolox_tiny.pth --conf 0.25 --nms 0.45 --tsize 640 --save_result
to save video to disk from webcamera and it seems it works.
But how to stop capture correctly ? If i press ctrl+c - video file doesnt close and i cant replay it. And how to exctract something from video on fly ? May be classes detected ?
Hi,
you can press on button "q" in keyboard.