1 | initial version |
Let me reply to your questions, since I got quite the background using the specific technique
createsamples
step, it will basically take your annotations and rescale them to the model dimensions. If your ratio is quite fluxuating, then all your samples will be rescaled to a fixed size ratio, introducing undesired deformations. Think of deforming a flat rectangle to a square model size. It will push together all data in some direction.opencv_createsamples
tool.2 | No.2 Revision |
Let me reply to your questions, since I got quite the background using the specific technique
createsamples
step, it will basically take your annotations and rescale them to the model dimensions. If your ratio is quite fluxuating, then all your samples will be rescaled to a fixed size ratio, introducing undesired deformations. Think of deforming a flat rectangle to a square model size. It will push together all data in some direction.opencv_createsamples
tool.Also I collected all my own good practices in a book chapter, in the OpenCV 3 Blueprints book. It might come in handy for you!