I refer this tutorial and this file to train my own classifier. But I faced a few of question.
I used objectmarker.exe to generate the info.txt. In info.txt, each record has different width and height but both of them keep ratio in rectangular. So, what should I set the value of width and height argument in the 02 haarTraining.bat?
The width and height of negative sample should also follow positive sample?
Updated 20/06/2017
For example, I used objectmarker.exe to mark down the following 2 image (The marked area represent as the green rectangle). However, these 2 rectangle width and height are not the same.
In info.txt:
rawdata/IMG_20170616_170411.jpg 1 993 424 201 284
rawdata/IMG_20170616_170544.jpg 1 895 994 69 95
Therefore, I don't know how to config the width and height argument in the 02 haarTraining.bat.