1 | initial version |
first important thing training or vector not work for 10 number of images it should be more than 200, here you make mistake in your positive.txt file should not contain absolute directory path it should be FudanPed00005.bmp 1 174 29 149 316 FudanPed00004.bmp 1 174 29 149 316 FudanPed00007.bmp 1 174 29 149 316 .... .... and another thing your negitive.txt file must contains absolute directory file name with path ,otherwise it will create problem while haar training.
you can generate positive sample and positive.txt file from less number of positive sample using createsample.exe