As I understood in order to generate XML, we gotta gather negative and positive images. In every tutorial I read/saw, all images; positive or negative, are resized to the same size, where the negative is usually double the size of the positive.
My question is as follow; can I have different sizes for positive images? I know it is going to be tedious since you need to specify the size of each image every time. But is it possible? Or would the detection of the object fail?
Imagine I am detecting an object, lets say a bed. A bed can be single or double, king size, queen size , .. etc. You got my point. So is it better to create a different XML for each of these sizes? Or I can put them in one positive directory and adjust the parameters accordingly to the size?
Reasons I am using Haar Cascade features is that it is fast and I need the detection to be done later on in real-time on Raspberry. If there any other way, I am open to any other suggestion too.
Thanks!