megvii-research / video_analyst

A series of basic algorithms that are useful for video understanding, including Single Object Tracking (SOT), Video Object Segmentation (VOS) and so on.
MIT License
832 stars 176 forks source link

Why does sat_video.py only activate the camera when it's up and running #202

Open elegy12138 opened 3 years ago

elegy12138 commented 3 years ago

I tried to run sat_video.py and found that the file only called my camera and did nothing else . I hope you can help me solve this problem

lzx1413 commented 3 years ago

You should set config file like this

python3 ./demo/main/video/sot_video.py --config 'experiments/siamfcpp/test/vot/siamfcpp_alexnet.yaml' --device cuda --video "webcam" 
elegy12138 commented 3 years ago

You should set config file like this

python3 ./demo/main/video/sot_video.py --config 'experiments/siamfcpp/test/vot/siamfcpp_alexnet.yaml' --device cuda --video "webcam" 

But I'm talking sat_video.py about , not sot_video.py