2018-08-19 07:47:15 -0600 | received badge | ● Famous Question (source) |
2017-10-21 23:20:23 -0600 | received badge | ● Notable Question (source) |
2017-05-20 10:41:38 -0600 | received badge | ● Popular Question (source) |
2016-01-21 12:54:27 -0600 | commented answer | traincascade's error (Required leaf false alarm rate achieved. Branch training terminated.)
|
2016-01-21 10:03:02 -0600 | received badge | ● Editor (source) |
2016-01-21 09:58:54 -0600 | asked a question | traincascade's error (Required leaf false alarm rate achieved. Branch training terminated.) Hello, everyone. I wamt to create a LBP face detector with traincascade. However, traincascade outputs a following message and stop training. "Required leaf false alarm rate achieved. Branch training terminated." This is my first training parameters. opencv_traincascade -numPos 7500 -numNeg 3000 -featureType LBP -mode ALL -numStages 12 -w 48 -h 48 However, Training stops stage 9. I tried to set various parameters. For example, -maxFalseAlarmRate 0.4 or 0.3, -w 24 -w 24, -minHitRate 0.7, -numStage 8 and -numpos 6000 ,but traincascade outputs same error message. I prepare about 8,500 positive samples and 4,000 negative samples, so I think number of samples is enough. This is a example of positive samples. C:\fakepath\sampling_succeed.png This is a example of negative samples. C:\fakepath\division_img00010.jpg I have no idea to finish training. Please advice me. This is reported accuracy at stage 7,8 and stopped 9 |
2015-12-10 04:05:30 -0600 | asked a question | Createsamples can't open images Hello everyone. I'm trying to run createsamples to make a Face Detection on Command Prompt as below command. C:\EX9>opencv_createsamples.exe -vec Front_8595.vec -num 8595 -info Front_OK.txt -w 48 -h 48 -mode ALL However, createsamples can't run and output a below error message. Unable to open image: POSE\000001\MY_000001_IEU+00_PD+00_EN_A0_D0_T0_BB_M0_R1_S0.tif OpenCV Error: Unknown error code -9 () in unknown function, file ......\src\cxcore\cxarray.cpp, line 2994 "POSE\000001\MY_000001_IEU+00_PD+00_EN_A0_D0_T0_BB_M0_R1_S0.tif" is a relative filepath to a sample image I ran createsamples with another image-set on same setting and it's succeed. I tried converting tif to jpg and renaming short filename but I can't run createsamples. I use the text to get filepaths and ranges of faces as below. POSE\000001\MY_000001_IEU+00_PD+00_EN_A0_D0_T0_BB_M0_R1_S0.tif 1 141 288 217 288 Please give an advice. |