Retrieving the center and contour of an object with OpenCV

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
3,292
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Apr 30, 2010

Retrieving external and internal contours using the OpenCV library. With this I tried to get the center of the object (blue filled circle), it seems to be in the center and working only for one object.

I used the function cvFindContours() with the mode CV_RETR_ETERNAL and the method CV_LINK_RUNS.

Category:

Science & Technology

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (Evol4ever)

  • Hello, nice work there.. I also think that the video works surprisingly fast.. Could you tell me is this real-time stream and processing, or did you first took the video and later re-run, add the contours with the algorithm, and saved the video? Its works really fast taking into consideration that its USB camera - could you tell me also fps u get with real-time processing?

  • @jakabevk I used a delay of 15ms (using the cvWaitKey(15) function), also I used a resolution of 640x48 with a USB camera (LifeCam VX-1000).

    I'm processing while getting frames taken from the camera (not using a recorded video).

  • Really nice video, this works impressively fast too, what kind of computer are you running it on?

  • @KonaRurrik Well, I don't have a good computer, I used cvWaitKey(15), maybe that's why is "faster" hehe...

    I'm using an Acer Aspire 4320, an old one I think...

    And also I'm using a webcam (LifeCam VX-1000)

see all

All Comments (7)

Sign In or Sign Up now to post a comment!
  • it´s open source?

  • this is nice! :D could you send me the sourcecode, please.. here's my email dc_bicyclemind@yahoo.com

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more