I want to create grabcut algorithm for image processing but i can't find perfect implementation .I have tried so many code but i cant found solution.
is there any example for Grabcut in openCV.So I can implement in my application.?
You can check this tutorial here.
grabcut algorithm
People reply to problems independently. Please do not demand to reply fast. Googling the problem will get you some hints.
Cheers.
See this repository.
It is demo application using GrabCut
https://github.com/naver/grabcutIOS
Related
I'm trying to get a start on using opencv in python to do some object detection. Are there any example code projects out there?
I've seen some examples that are specific to face detection but they seem to use preprocessed data that I don't know how to generate.
Thanks!
There are a lot of examples, but I would suggest in any case to give a look at the following sources:
http://opencv-python-tutroals.readthedocs.org/en/latest/
http://www.pyimagesearch.com/
I am new in opencv and I want to work on face detection methods. I have understand that one of the best methods is by haar features. I know some functions in opencv library for detection faces and training.
can any one help me to understand how haarcascade_frontalface_alt.xml is made?
and how can I modify this file?
thanks a lot for your help.
First read this:
http://docs.opencv.org/doc/user_guide/ug_traincascade.html
followed by:
http://note.sonots.com/SciSoftware/haartraining.html
http://opencvuser.blogspot.in/2011/08/creating-haar-cascade-classifier-aka.html
http://achuwilson.wordpress.com/2011/07/01/create-your-own-haar-classifier-for-detecting-objects-in-opencv/
Start with good training data.
Cheers.
I am trying to use ORB descriptors with LshMatcher for a faster matching.
I have found somewhere LSH implementations (example: https://code.ros.org/trac/wg-ros-pkg/browser/branches/trunk_diamondback/stacks/object_recognition_experimental/rbrief/src/lsh.cpp)
But it seems it is not implemented yet in opencv 2.4.2.
Do you have any hint how to include LshMatcher within opencv?
I have asked the same question on the OpenCV dev forum, without a good answer.
http://answers.opencv.org/question/503/how-to-use-the-lshindexparams/
Yet, I hope for some more docs. You can just check it again in a few days to see whether there is a new answer.
BTW, if you try to use it with SIFT/SURF/ORB, which are float descriptors, as I know, it will not work LSH are for binary descriptors only.
Edit
It seems to be a bug in OpenCV (2.4.2), as stated in the accepted answer here
http://answers.opencv.org/question/503/how-to-use-the-lshindexparams/
Previously I posted this question in this forum and as per as experts suggestion, they recommended me to use OpenCV for extracting data from the image.
I'm new to OpenCV, basically I learnt to install OpenCV 2.1 with Visual Studio 2008 and then I worked with simple programs like to load the images, invert and save images.
Then I'm trying to read the numbers from the image. I searched a lot in Google and OpenCV tutorials PDF, I didn't get any solution.
Please can anyone guide me about this?
Or a simple walkthrough for reading the numbers from the image..
Thank you..
A example of a basic OCR with OpenCV:
http://blog.damiles.com/2008/11/basic-ocr-in-opencv/
I would like to filter an image to make it more clear/sharper. What would be the best filter method for this in OpenCV?
If you want to sharpen the image this question might help you.
And for noise reduction here I have found an interesting article.
Filtering is a very broad topic and "make it more clear" is a rather vague objective. OpenCV has a number of filters implemented for you to try, and they are documented fairly extensively. If you are wanting more detailed advice, perhaps you should show some example images and explain what specifically you want to improve about them.