Display an image when cv2.VideoCapture(0)

asked 2019-06-07 00:25:18 -0500

pedro_bb7 gravatar image

Hi, I would like to know if there is a method to display a loading image when waiting for cv2.VideoCapture(0)

I tried to show image before calling cv2.VideoCapture(0) but image is displayed for a brief of moment only.

Then starts to show captured image.

edit retag flag offensive close merge delete



one thing is entirely unrelated to the other.

berak gravatar imageberak ( 2019-06-07 07:49:21 -0500 )edit

I am using pyqt5, like a label to display captured video. So when before finishing to load captured video I want an image displaying loading to the user. But the program just skips this part and goes automatically to captured video image which take some time.

pedro_bb7 gravatar imagepedro_bb7 ( 2019-06-09 18:40:23 -0500 )edit