Which image format is the best for haar training? [closed]
Hello,
My question might be a dumb one but I wonder if there is an image format that is better for haar cascade training which means that:
- The training time is reduced
- The results are better
Is there one?
Thanks in advance
PS The University of Utah uses .pgm
files for its image databases (e.g. the one for car detection)
It doesn´t make a difference really. Only thing that influences processing time and quality are resolution. Just 1 thing to keep in mind maybe, if you want little details of your classes trained into the model, then do not go for any image type that has lossy compression of the data.
I would also add that the OpenCV Mat is store in RAW, therefore for any images (without dealing with compression) you would get the same Mat: loading a PNG or a PPM or a PGM would result to the same image for the training.