Ask Your Question

antonio.paes's profile - activity

2014-05-15 15:08:22 -0600 asked a question InternalNodes e leafValues xml generated for opencv_traincascade

Hi guys please I need know what are the tags:

internalNodes leafValues

follow the image of this values:

image description

2014-04-23 11:40:35 -0600 received badge  Editor (source)
2014-04-23 11:37:25 -0600 asked a question Means meaning of the values ​​within the xml file generated by traincascade

Hi guys, i'm trying understand what means the values inside cascade.xml generated in opencv_traincascade, I already read opencv manual page 370, but I don't understand totally, any help ? below follow a peace of xml file:

<stages> <_> <maxweakcount>4</maxweakcount> <stagethreshold>-9.1068863868713379e-001</stagethreshold> <weakclassifiers> <_> <internalnodes>0 -1 65 -1.1452985927462578e-002</internalnodes> <leafvalues>8.7483358383178711e-001 -7.7626192569732666e-001</leafvalues> <_> <internalnodes>0 -1 9 3.4780411515384912e-003</internalnodes> <leafvalues>-7.4948322772979736e-001 4.7727376222610474e-001</leafvalues> <_> <internalnodes>0 -1 17 -1.4303965726867318e-003</internalnodes> <leafvalues>-9.9589908123016357e-001 2.6722699403762817e-001</leafvalues> <_> <internalnodes>0 -1 12 2.7323169633746147e-003</internalnodes> <leafvalues>4.0333861112594604e-001 -8.7892746925354004e-001</leafvalues> </weakclassifiers>

Thanks !!

2014-03-18 08:24:36 -0600 asked a question HSV filters

I am using the detector of Viola and Jones tracking for signs of transit, but now I'm trying to use some filters HSV color space, I was wondering how do I get it to know if a certain color in this my ROI, I studied a little inRange () function, but do not get it right, anybody know something about? Thank you.

2014-03-05 16:58:03 -0600 asked a question AdaBoost and Haar

Hi guys, I'm trying understand face detect of Viola and Jones, I managed to implement includ, but I have some questions, I read some works about this, and a original work of Viola and Jones about face detect, I read the oridinal work of AdaBoost too, but I don't understand how they work together.

any help? thanks

2014-02-28 05:38:36 -0600 asked a question Region of interest

hi guys, i am using the opencv facedetect to detect traffic signs, and I wanted to apply some filters HSV, I've managed to get the ROI, I wonder if I have to define a structure with a color space, noting that the what interests me is just the HS, any idea?

2014-02-26 06:23:32 -0600 commented question Applying filter in facedetect

Thanks man, help me very much !

2014-02-25 18:06:37 -0600 asked a question Applying filter in facedetect

I wanted to see if you have any color intensity within the rectangle generated by the rectangle method rectangle(frame, pt1, pt2, Scalar (0, 255, 0), 4, 8, 0), anybody have some idea?

2014-02-23 08:04:51 -0600 received badge  Supporter (source)
2014-02-23 07:57:56 -0600 received badge  Student (source)
2014-02-23 07:55:23 -0600 commented answer opencv_traincascade

I'll keep trying, thanks for the clarification helped me a lot, I was confusing the-numPos with total examples in vec-file ..

Thanks,.

2014-02-23 07:53:27 -0600 received badge  Scholar (source)
2014-02-23 07:38:51 -0600 commented answer opencv_traincascade

First thanks for the answer...

In my case would numPos = 0.9 * 2000 = 1800 and vec-file = (1800+(30 -1) * (1 - 0.99) * 1800) + 2000 = 4322 this is correct ?

and more one time thanks man..

2014-02-21 09:26:56 -0600 asked a question opencv_traincascade

I have this error in opencv_traincascade.exe

OpenCV Error: Bad argument (Can not get new positive sample. The most possible r eason is insufficient count of samples in given vec-file. ) in CvCascadeImageReader::PosReader::get, file C:\builds\2_4_PackSlave-win32-vc 11-shared\opencv\apps\traincascade\imagestorage.cpp, line 162

I pass following parameters :

opencv_traincascade.exe -data data/cascade -vec data/vector.vec -bg negative/infofile.txt -numPos 2000 -numNeg 4000 -numStages 30 -w 30 -h 30 -featureType LBP -minHitRate 0.9 -maxFalseAlarm 0.005 -mode ALL

my vector.vec contain 2000 samples.

any idea ? Thanks guys !!

2014-02-12 05:27:36 -0600 asked a question opencv_traincascade.exe

I try use traincascade but, happened flollowing error:

Unhandled exception at 0x0126CED7 in opencv_traincascade.exe: 0xC0000005: Access violation reading location 0x00000000

any idea, what I do ?

2014-02-07 12:27:26 -0600 asked a question Error in opencv_createsamples.exe

I'm have 1020 positive images and 3000 negative images, but when I use opencv_createsamples.exe occurs following: error positive/info.txt(129) : parse errorDone. Created 361 samples

my info.txt: rawdata/1.bmp 2 147 59 90 79 181 215 61 54 rawdata/10.bmp 1 131 99 51 56 rawdata/100.bmp 3 30 223 111 97 191 177 61 54 240 90 92 83 rawdata/101.bmp 2 162 71 44 47 50 105 90 90

anybody help me ?

thanks !!

2014-01-19 20:49:42 -0600 answered a question Traincascade Error: Bad argument (Can not get new positive sample. The most possible reason is insufficient count of samples in given vec-file.

Hi, first I do congratulate of posts, is really good, and help-me very much.

But, I have some questions, I'm try use opencv_traincascade with 100 positive images and 600 negative images, using createsamples I do 100 samples create so, I pass following parametters:

opencv_traincascade.exe -data data/cascade -vec data/vector.vec -bg negative/infofile.txt -numPos 5 -numNeg 100 -numStages 15 -precalcValBufSize 256 -precalcIdxBufSize 256 -featureType HAAR -mode all -w 30 -h 30 -minHitRate 0.90

but, a aplication just stop of execute and close, don't have anything message of error, I do some variations of -numPos , but nevertheless a error return, somebody help-me ?

thanks...

2013-11-20 10:04:51 -0600 answered a question i got an error “Error 1 error LNK1181: cannot open input file ‘opencv_core242.lib’ ” please help me out…

Hi I'm started use of openCV, do litlle time, and a error named "Error 14 error LNK1104: cannot open file 'C:\OpenCV2.4.6\opencv\apps\haartraining.obj' D:\Projeto\Train\Train\LINK Train" , persist, somebody help-me?