cog icon indicating copy to clipboard operation
cog copied to clipboard

Why cv2.imshow fuction is not supported by Cog?

Open thi23459112 opened this issue 2 years ago • 1 comments

If I include the line cv2.imshow("test", im0) in my code, why can't predict.py execute?

If I delete that line, it runs successfully.

The cv2.imshow("test", im0) line is simply displaying the video; why does it conflict with cog?

thi23459112 avatar Dec 22 '23 03:12 thi23459112

Cog runs in a container that cannot show any video, so it can't run this function.

yorickvP avatar Feb 19 '24 16:02 yorickvP