Ask Your Question

omerjerk's profile - activity

2020-10-27 05:27:20 -0600 received badge  Student (source)
2020-10-27 05:24:31 -0600 received badge  Popular Question (source)
2014-07-09 08:05:37 -0600 commented answer negative images used for training

Thanks a lot. It cleared my doubts. Another question is can I just take the cropped image of my TV remote and using "image_name.jpg 1 0 0 <width> <height>" as the entry in my file or is it better to have an image in which the TV remote takes only part of the image ?

2014-07-09 07:46:52 -0600 received badge  Editor (source)
2014-07-09 07:45:30 -0600 asked a question negative images used for training

I'm pretty new to OpenCv. I'm using this method : https://github.com/mrnugget/opencv-haar-classifier-training to train my classifier. Right now I'm just testing if everything works so I'm using 18 positive samples and only 1 negative sample. Since I'm just testing if everything works, I just want to detect my TV remote (I used the images of my TV remote as positive samples). And the 1 negative image which I used was the image of my mattress on which the TV remote is lying. I want to ask am I heading in the right direction using only 1 negative sample i.e. image of my mattress on which TV remote is lying ? If not, what should we actually use as negative samples.

Please consider me having no knowledge of algorithms being used here. I'm just reading over the internet.

2014-07-09 06:22:37 -0600 received badge  Supporter (source)