Video files in opencv

前端 未结 4 679
南方客
南方客 2021-02-04 22:37

I want to read video file(.avi or .mov) and detect motion and edges using Opencv.Can u help me with code?I want to create a GUI in which we can select the video file,then we can

4条回答
  •  温柔的废话
    2021-02-04 23:08

    How to read a video file:

    • Read video file and display it on a window (C API)
    • Read video file and display it on a window (C++ API)
    • Read video file, convert it to grayscale then display it on a window (C API)

    How to track/detect motion:

    • Opencv Motion detection with tracking
    • How to do motion tracking of an object using video?
    • The OpenCV Video Surveillance / Blob Tracker Facility

    How to detect edges/countours:

    • Using cvCanny()
    • Using cvCanny() and cvFindContours()
    • Using cvCornerHarris()

    And for more info on how to detect shapes, check this post.

提交回复
热议问题