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.
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 8 months ago
@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).
Evol4ever 8 months ago
Really nice video, this works impressively fast too, what kind of computer are you running it on?
KonaRurrik 1 year ago
@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)
Evol4ever 1 year ago