Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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 going in the correct direction using only 1 image 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.

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 going heading in the correct right direction using only 1 image 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.

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.