Ask Your Question

eric's profile - activity

2020-10-02 06:35:43 -0500 received badge  Famous Question (source)
2016-12-20 22:52:48 -0500 received badge  Famous Question (source)
2016-05-24 02:26:19 -0500 received badge  Notable Question (source)
2016-02-03 13:41:27 -0500 received badge  Student (source)
2015-07-08 14:54:44 -0500 received badge  Popular Question (source)
2015-06-05 12:13:11 -0500 received badge  Notable Question (source)
2014-09-11 07:15:35 -0500 received badge  Popular Question (source)
2013-07-05 12:26:54 -0500 received badge  Editor (source)
2013-07-05 12:26:39 -0500 answered a question Unable to create positive samples

What I wanted to do with the opencv_createsamples tool is impossible.

When used on a list of negative images, now transformations are applied, so I will never generate more images than are given in the list.

Instead, I built my own tool to create the 600 distorted images and then fed that into opencv_createsamples

2013-07-05 12:25:10 -0500 asked a question Color correction


I am looking for a way to automatically correct colors in photos with Opencv. I know that doing this automatically can result in errors / distortions but I'd like to give it a shot.

Any existing Opencv implementations / functions?

Thank you PS: to be more specific, i'd like something like photoshop's "auto color" or "auto tone" tools, that "correct" the color balance

2013-06-25 05:20:44 -0500 asked a question Unable to create positive samples

I am building a Haar classifier. I have a set of 109 positive samples and 3000 negative samples. To increase my number of positive samples (to say 600), I try using the following command:

opencv_createsamples -vec out.vec -w 24 -h 24 -bg bg.txt -num 600 -info positives.dat

But I get the following error message:

positives.dat(109) : parse errorDone. Created 108 samples

How can I "force" opencv to produce the 600 samples from those 109 I have?

2013-06-21 05:11:51 -0500 commented answer Detect specific body parts

Thank you. That's indeed an option but it would require me to build a database of thousands of cropped images of butts & co, which would be very tedious... I'd like to avoid that :)

2013-06-20 17:41:14 -0500 asked a question Detect specific body parts


I would like to detect specific body parts in still images (not faces or eyes but uncommon ones such as bellybuttons and intimate organs). I have found Haar classifiers for faces, eyes, ears, mouths, noses and hands etc. What about the other body parts, are there any libraries with such classifiers (Haar or other)?

Thank you