FoveaBox
FoveaBox copied to clipboard
TypeError: "img" must be a numpy array or a str or a pathlib.Path object
(open-mmlab) fsr@serverA2:~/FoveaBox$ python demo/webcam_demo.py configs/foveabox/fovea_r50_fpn_4gpu_2x.py checkpoints/fovea_r50_fpn_4x4_2x_coco_20200203-2df792b1.pth
[ WARN:0] global /tmp/pip-req-build-cg56sov1/opencv/modules/videoio/src/cap_v4l.cpp (893) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
Press "Esc", "q" or "Q" to exit.
Traceback (most recent call last):
File "demo/webcam_demo.py", line 44, in
What should I do