Ask Your Question

Moonguard's profile - activity

2014-10-22 01:44:29 -0500 commented answer Hough Circles Small Question

Yeah I try to think like that too. Its a bit confusing though.

2014-10-21 10:34:58 -0500 received badge  Student (source)
2014-10-21 10:19:58 -0500 received badge  Scholar (source)
2014-10-21 10:19:37 -0500 commented answer Hough Circles Small Question

Thanks, its an openCV documentation. You can find the example here: http://docs.opencv.org/modules/imgproc/doc/feature_detection.html

I simply did not understand the pointer part, so I do not know why they used -> instead of.

2014-10-21 08:37:51 -0500 asked a question Hough Circles Small Question
#include <cv.h>
#include <highgui.h>
#include <math.h>

using namespace cv;

int main(int argc, char** argv)
{
    Mat img, gray;
    if( argc != 2 && !(img=imread(argv[1], 1)).data)
        return -1;
    cvtColor(img, gray, CV_BGR2GRAY);
    // smooth it, otherwise a lot of false circles may be detected
    GaussianBlur( gray, gray, Size(9, 9), 2, 2 );
    vector<Vec3f> circles;
    HoughCircles(gray, circles, CV_HOUGH_GRADIENT,
                 2, **gray->rows/4**, 200, 100 );
    for( size_t i = 0; i < circles.size(); i++ )
    {
         Point center(cvRound(circles[i][0]), cvRound(circles[i][1]));
         int radius = cvRound(circles[i][2]);
         // draw the circle center
         circle( img, center, 3, Scalar(0,255,0), -1, 8, 0 );
         // draw the circle outline
         circle( img, center, radius, Scalar(0,0,255), 3, 8, 0 );
    }
    namedWindow( "circles", 1 );
    imshow( "circles", img );
    return 0;
}

In this example what is "->" sign at "gray->rows/4 " part and what does it do? I am writing a program using that method and I simply copied that part but I have no idea what that is and I would like to know it.

2014-10-21 04:12:28 -0500 received badge  Peer Pressure (source)
2014-10-20 02:34:03 -0500 commented question OpenCV 2.2.2 Version Path Problem

Rude? He is the one who is being rude by telling me what to do. There is also a reason why I use openCV 2.2.2 and I already told him that. He still insists, instead of trying to help and simply making posts and karma. In addition, the code works perfectly fine with so much bugged version of OpenCV 2.2.2 while it does not work with so called "stable" release openCV 2.4.10. Therefore, I could not care less that you warn me, instead you two have been warned.

2014-10-17 01:08:42 -0500 commented question OpenCV 2.2.2 Version Path Problem

just shut up please.

2014-10-16 09:26:51 -0500 commented question OpenCV 2.2.2 Version Path Problem

I have to use it because I am following a tutorial.

2014-10-16 09:22:30 -0500 asked a question OpenCV 2.2.2 Version Path Problem

Hello, I am using Windows 8 64bit and I have downloaded OpenCV 2.2.2 version for object detection.(http://sourceforge.net/projects/opencvlibrary/files/opencv-win/2.2/ Third one for visual studio) I will also download Visual Studio 2010 express later. Even though, I have selected add path to all users at the install it did not add it. Can you tell me how to add path in system properties? I have looked at some tutorials but in this version it adds automatically. Other versions are a bit different and I am confused.

Also, I know that this openCv version has only 32 bit binaries so I know that I have to choose Visual Studio 32 bit template when I am create my project . However, will that be a problem for my 64bit system?

2014-10-08 08:23:57 -0500 commented question Object Recognition Please Help

How does that even remotely answers my question?

2014-10-08 08:10:42 -0500 received badge  Critic (source)
2014-10-08 08:06:12 -0500 received badge  Editor (source)
2014-10-08 08:00:43 -0500 commented question Object Recognition Please Help

I have already tried that and found abselutely nothing. Thats why I asked here.

2014-10-08 07:55:09 -0500 asked a question Object Recognition Please Help

Hello, I am a beginner programmer and I really need your help. I would like to learn how to make a program that recognizes a given image such as a tree, an animal or a keyboard. When I show my camera on it it will recognizes the shown image and say it. It doesn't have to recognize everything, a couple of objects would be enough. Can you help me how to create a program like that because I have abselutely no idea. One person thought that I want the whole code or something like that, thats entirely wrong. I simply want to know if there are tutorials about this subject.

Thanks...