YOLOX icon indicating copy to clipboard operation
YOLOX copied to clipboard

how to stop video from webcam and exctract results?

Open zoldaten opened this issue 2 years ago • 1 comments

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 ?

zoldaten avatar Jun 29 '22 17:06 zoldaten

Hi,

you can press on button "q" in keyboard.

LamnouarMohamed avatar Sep 13 '22 10:09 LamnouarMohamed