while True: _, frame = video_capture.read() small_frame = cv2.resize(frame, None , fx=0.25, fy=0.25) rgb_small_frame = cv2.cvtColor(small_frame, cv2.COLOR_BGR2RGB) i am getting the following error in resizing the window... btw dont mind my words im still a python kid but i need it for my project error: `[ERROR:0@0.090] global obsensor_uvc_stream_channel.cpp:159 cv:bsensor::getStreamChannelGroup Camera index out of range Traceback (most recent call last): File "C:\Users\123ab\PycharmProjects\FaceRecognition\program.py", line 35, in small_frame = cv2.resize(frame, None , fx=0.25, fy=0.25) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cv2.error: OpenCV(4.9.0) D:\a\opencv-python\opencv-python\opencv\modules\imgproc\src\resize.cpp:4152: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize' Process finished with exit code 1` i was expecting a window showing my live video from webcam of my pc but instead i got the above mentioned error btw here are my specs: i5-12400f 16gb ddr4 ram 500gb ssd crucial t500 pro gigabyte h610 mk ddr4 v2 zotac rtx 3050 8gb eco webcam : yes Continue reading...