webcam feed > depth
ArashHosseini opened this issue · 1 comments
ArashHosseini commented
hi @priya-dwivedi,
I wanted to use the webcam feed directly, but my result does not look as expected, I do not know whether it is due to the frame colorspace or visulazitaion. test_video.py the result looks correct, it has to be the webcam feed / colorspace / visulazitaion. here a example:
thx
ArashHosseini commented
fixed by:
...
frame = cv2.cvtColor(pred.astype('float32'), cv2.COLOR_RGB2BGR)
cv2.imshow("", frame)
...