I am doing a program for Realtime human pose estimation and for detecting it through webcam i am using this code:
cap = cv2.VideoCapture(0) ret, frame = cap.read()
but the frame rate detected is too much slow. Can anyone please show me a code to run camera at it should detect frames at normal rate. Also i am using intel i3 processor and intel HD graphics 5500, So if there any hardware issue please let me know....but i think there should be any?