How to solve this problem ? i am unable to find the solution.
cap = cv2.VideoCapture(0) while True: ret, frame = cap.read() roi = frame[100:400,