Towards-Realtime-MOT icon indicating copy to clipboard operation
Towards-Realtime-MOT copied to clipboard

How to run with camera.

Open CommandoHuan opened this issue 4 years ago • 5 comments

Can anyone show me how to run with camera or webcam? Many thanks.

CommandoHuan avatar Nov 10 '20 01:11 CommandoHuan

One more question. Can we track traffic vehicle with this? And if yes then how to do that?

CommandoHuan avatar Nov 10 '20 02:11 CommandoHuan

Can anyone show me how to run with camera or webcam? Many thanks.

For webcam, you just run command below:

python demo.py --input-video /dev/video0 --weights path/to/model/weights
               --output-format video --output-root path/to/output/root

mheriyanto avatar Apr 15 '21 03:04 mheriyanto

One more question. Can we track traffic vehicle with this? And if yes then how to do that?

Yes, we can traffic vehicle but we have to train pre-trained model using vehicle objects.

mheriyanto avatar Apr 15 '21 03:04 mheriyanto

Can anyone show me how to run with camera or webcam? Many thanks.

For webcam, you just run command below:

python demo.py --input-video /dev/video0 --weights path/to/model/weights
               --output-format video --output-root path/to/output/root

what's the path for osx mac ? /dev/video0 thank you

fridayhoho avatar Jun 19 '22 03:06 fridayhoho

Can anyone show me how to run with camera or webcam? Many thanks.

For webcam, you just run command below:

python demo.py --input-video /dev/video0 --weights path/to/model/weights
               --output-format video --output-root path/to/output/root

Thank you very much.

CommandoHuan avatar Jun 19 '22 10:06 CommandoHuan