Open hj91k opened 2 years ago
Hi,
It is not difficult to revise the code so that it can support webcam demo. You need to write a webcam dataloader and replace it with the original LoadVideo
dataloader in this line.
Thanks for your advised(@Zhongdao), I succeeded the webcam version. so I tried to MOTS demo with webcam by changing eval_seq() of MOTS instead eval_seq() of MOT
But it failed with an error message('numpy.ndarray' object has no attribute 'unsqueeze'
)
how should i solve this?
Unfortunately, if you want to try MOTS with webcam, the YOLOX demo cannot be directly used, because YOLOX only outputs bounding boxes rather than pixel-wise masks. I think you can try to find a fast instance segmentation model and replace it with YOLOX in the mot demo.
Hello, i will hope to run Unitrack + YOLOX Demo for realtime.
so i ran Unitrack + Yolox Demo with the "webcam" option but It seems to only work on a test-video basis.
how can i run the Demo with webcam?