Ask Your Question

Swooshftw's profile - activity

2021-07-20 08:48:57 -0600 received badge  Notable Question (source)
2019-08-02 04:06:11 -0600 received badge  Popular Question (source)
2016-03-17 02:37:50 -0600 received badge  Enthusiast
2016-03-11 17:28:49 -0600 asked a question Detect Partial Circles

I am trying to detect half and quarter circles. I found a stackoverflow question where the person used houghCircles to find the quarter and half circles, however that was in c++ and I have been unsuccessful in porting it into python. I was wondering if anyone has a easier solution to finding half and quarter circles in opencv python or some other function I can try using. Here is the photo I am using to try to recognize half and quarter circles for.

image description

2016-02-28 13:18:10 -0600 commented question Tracking Contours from a ROI

What I can't do is track my contours because they are bounded to the coordinates of my ROI. For example, once my contour leaves the ROI it will no longer be displayed. But yes, I am only displaying the ones in the ROI. That could very well work since the contours found that best matches wouldn't be bound by me ROI coordinates. I will try that out tonight, thanks!

2016-02-27 22:53:48 -0600 asked a question Tracking Contours from a ROI

So I am trying to create a program where the user can select a ROI from streaming video and then contours will only be taken from that ROI. The way I am only displaying contours within the ROI is to simply not display contours whose coordinates are not within the ROI. All that is working, however, I want to be able to track those contours found without using color. That means I can't use the camshift or meanshift algorithm on the "main" frame directly. I can't think of a way to track these contours that will "move" the ROI with them so they are still displayed. I thought of copying my "main" frame and making it all black and then displaying the contours on the black frame and then using camshift. However, once the contours are moved out of the ROI they will not be displayed so the camshift will get nothing.

I think the real dilemma here is how to "lock onto" the contours in the ROI once the user is happy with them and then removing the ROI boundaries.

If you any ideas please throw them out there cause I am out of them.