Ask Your Question

BartBB2's profile - activity

2020-09-22 17:54:26 -0600 received badge  Student (source)
2016-12-08 01:14:54 -0600 received badge  Popular Question (source)
2016-03-31 14:00:10 -0600 received badge  Scholar (source)
2016-03-31 14:00:03 -0600 commented answer HoughCircles problem. C++.

It works! Thanks a lot! I had no idea I should change the settings like that. I was only messing around with param1 and param2. Saved my ass, thanks.

2016-03-31 13:05:21 -0600 received badge  Editor (source)
2016-03-31 13:04:04 -0600 asked a question HoughCircles problem. C++.

I am trying to detect the amount of circles in an image. Apparently I either do not know how to use HoughCircles (which is the most likely scenario :D) or it simply is not good enough.

Not much to say, I'll upload a picture and post my code and hopefully you'll be able to help me out.

Picture with circles (which cannot be detected): http://imgur.com/2SmvysV

Code: http://pastebin.com/0M62cYmr

I seriously took the code from the internet. Made minor changes like param1 and param2 were changed to 80 instead of 100 in the HoughCircles function.

Previous post for the interested ones: http://answers.opencv.org/question/89...

EDIT: As I said, it either does not detect any dots/circles at all or detects fake ones. Any kind of help is appreciated!

2016-03-31 12:43:50 -0600 commented answer Detecting circles/ellipse/whatever in an image

Can you send me the HoughCircles part of the code? Could really be useful for me. I still haven't figured it out.

2016-03-17 10:43:19 -0600 commented question Detecting circles/ellipse/whatever in an image

What is "findContours"? Have I mentioned I'm new to opencv?

2016-03-17 10:42:47 -0600 commented answer Detecting circles/ellipse/whatever in an image

Honestly, I am quite new to OpenCV and I have no idea how to do half of the things you said. Links to examples/tutorials or explaining it will really be appreciated!

2016-03-17 10:40:49 -0600 commented answer Detecting circles/ellipse/whatever in an image

And this was made using HoughCircles or some other technique of finding circles/blobs?

2016-03-06 03:51:27 -0600 asked a question Detecting circles/ellipse/whatever in an image

I need to detect the amount of dots/circles/ellipse as I said in the title.

The quality of the image is as shown below (the circles aren't that round either which makes it hard on HoughCircles to detect it with my current settings or any other settings for that matter. I need a reliable way of detecting the amount of dots.. I have searched the internet for weeks and have finally given up. I could really use directions or if anyone volunteers to write the code for me, I won't mind) :

http://imgur.com/a/wCc3P

Any help is appreciated. I write my code in C++.

2016-01-18 11:02:34 -0600 asked a question Capturing and saving/manipulating a single frame from a camera.

Hi there,

What I am trying to do sounds pretty basic to me, I just can't quite do it.

I saw code online showing how to connect to the camera and stream through it, so I thought, maybe I'll just take this specific frame and do something with it, but apparently that doesn't work.

I used VideoCapture cap and then cap.open to check if it can connect to it. Then, in a loop, something like this:

Mat frame; camp >> frame;

Then according to the code I found online, they refresh a window with the new frame taken every time in the loop. So I thought, as I said before, maybe I could use this one frame and whatnot. But whenever I try to show one specific frame in a window (additional window) the window is blank while the other window still shows the video.

The way I tried showing one frame is by creating another window and using imshow when I was halfway through the loop, just to be sure that the frame is fine and all.

Anyway! I just need to get one frame from this camera, that is it, how do I do it?