Ask Your Question

Akhilesh's profile - activity

2018-06-28 02:55:37 -0500 edited question What is the minimum version of OpenCL required for OpenCV dnn module.

What is the minimum version of OpenCL is required for OpenCV dnn module. I need dnn model of OpenCV. I came to know that

2018-06-28 02:53:04 -0500 asked a question What is the minimum version of OpenCL required for OpenCV dnn module.

What is the minimum version of OpenCL is required for OpenCV dnn module. I need dnn model of OpenCV. I came to know that

2017-02-14 03:28:27 -0500 commented question Training data for cup detection

Thank you Der Luftmensch

2017-02-13 06:41:11 -0500 commented question Training data for cup detection

Hi, can you please refer any link or tutorial to train my data of cup detection.

2017-02-07 09:30:49 -0500 commented question Too many frames captured in one second

I don't know what is the movement of your hand in video, but suppose, movement is from right to left and left to right very fast, then you may lose the hand movement completely.

2017-02-07 01:54:17 -0500 commented question Training data for cup detection

Thank you Der Luftmensch. I think it is a good suggestion for me to try TensorFlow.

2017-02-06 00:53:13 -0500 asked a question Training data for cup detection

I am new in opencv. I am trying to make cup detector like face detector in opencv. But I see the positive samples of face detector, there is particular pattern of eyes, nose and mouth, so there is, somewhat all, positive samples have same pattern. But cups don't have the same pattern on it. Some cups are plan and some have graphics on it. So suggest me any idea how to take samples and implement it.

2017-01-27 08:40:59 -0500 commented question convert single channel to 3 channel

Hi, as given in the document of opencv, convertTo converts an array to another data type with optional scaling. And it is clearly mentioned that the number of channels of output and input must be same. rtype – desired output matrix type or, rather, the depth since the number of channels are the same as the input has; if rtype is negative, the output matrix will have the same type as the input.

2017-01-05 08:09:54 -0500 commented question Stitching Images, error code 1

Hi, I have found the solution. Actually the problem was nothing but just the images. The common area in the images was not enough, so after trying with the different images, I got the stitched image.

2017-01-05 06:23:55 -0500 received badge  Editor (source)
2017-01-05 06:21:15 -0500 asked a question Stitching Images, error code 1

Hi, I have a simple code of stitching image.

int main() { Mat pano; vector <mat> imgs;

imgs.push_back ( imread ("2.jpg",CV_LOAD_IMAGE_COLOR));
imgs.push_back ( imread ("3.jpg",CV_LOAD_IMAGE_COLOR));
Stitcher stitcher = Stitcher::createDefault(true);
Stitcher::Status status = stitcher.stitch(imgs, pano);
if (status != Stitcher::OK)
{
    cout << "Can't stitch images, error code = " << int(status) << endl;
    return -1;
}
imshow("result_name", pano);
waitKey(0);

}

I have 2.jpg and 3.jpg is the present working directory. I am running this code, I am getting error : Can't stitch images, error code = 1 Can anybody help me to get rid of this error?

Here 2.jpg and 3.jpg are the cropped images from the single image.

2016-12-28 23:27:37 -0500 commented question How to eliminate small contours in a binary image?

Hi, take the biggest contour instead.

2016-12-28 07:57:02 -0500 commented answer opencv VideoCapture property

Ok. Thank you

2016-12-28 07:19:18 -0500 commented answer opencv VideoCapture property

linux 14.04, opencv 3.1.0 and actually, camera is underdevelopment. So if would solve the issue, I will let you know.

2016-12-28 07:04:33 -0500 commented answer opencv VideoCapture property

set() is always returning true and while getting using videoCapture::get(), it is returning the same value which is been set by set().

2016-12-28 06:45:34 -0500 commented answer opencv VideoCapture property

Thanks for immediate responding, but actually I am changing the focus value of the camera and not able to get range.

2016-12-28 06:45:31 -0500 commented answer opencv VideoCapture property

Thanks for immediate responding, but actually I am changing the focus value of the camera and not able to get range.

2016-12-28 06:26:43 -0500 asked a question opencv VideoCapture property

Hi, Is there any API in opencv ( or any programmatic way ) to get the range of a particular property of VideoCapture class like exposure or brightness.

2016-12-23 04:07:13 -0500 commented question WebCam using error with opencv and c++

Hi, give the path of the opencv library with -L flag.

2016-12-21 04:06:05 -0500 received badge  Enthusiast
2016-12-14 23:53:14 -0500 commented answer Error clahe opencv 3.0 undefined reference to symbol

Actually, this error comes because of dynamic compile time linking, so in order to link it we can use -lopencv_imgproc in command line.

2016-12-14 23:48:24 -0500 commented answer Error clahe opencv 3.0 undefined reference to symbol

yeah, I too suggested imgproc only.

2016-12-14 10:29:17 -0500 answered a question Error clahe opencv 3.0 undefined reference to symbol

If the error is still there, then first you should include header file #include "opencv2/imgproc.hpp" and the compile your code as g++ -L/usr/local/lib -o "ClaheTeste1" ./main.o -lopencv_imgcodecs -lopencv_highgui -lopencv_core -lopencv_imgproc