1

I want to analyze a specific Area in a Video. Is there a way to set the size of frame1 to a specific Area? With cap.read() for Example?

 cap = cv2.VideoCapture(url)

    while True:
        # Capture each Frame
        ret, frame1 = cap.read()

        cv2.imshow("Capture", frame1)

        q = cv2.waitKey(1)

        if q == ord("q"):
            break

    cap.release()
    cv2.destroyAllWindows()

Thank you for taking the Time

petezurich
  • 9,280
  • 9
  • 43
  • 57
N.Bleicher
  • 11
  • 3
  • 1
    You are meaning to crop a part of area from the frame, your answer is already in [here](https://stackoverflow.com/questions/15589517/how-to-crop-an-image-in-opencv-using-python) All you need is cropping the area in each loop – Yunus Temurlenk Apr 16 '20 at 10:32
  • @YunusTemurlenk thanks for the help. I will try it immediately – N.Bleicher Apr 16 '20 at 10:33

0 Answers0