-
Notifications
You must be signed in to change notification settings - Fork 8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Image Preprocessing for Training and Testing #3469
Comments
you can see it in src/detector.c |
First question: Line 1322 in aeb9da6
Line 1276 in aeb9da6
What is a similar python (opencv or pillow) implementation of this Second question: |
hello @nseidl did obtain an answer to your question please? |
By default in this repo, images are stretched in training and in inference. Python (pillow) code:
|
Where can I find in the source preprocessing for images in training?
Are images scaled to 416x416 maintaining aspect ratio then padded with gray 128 to make up missing space, in training?
What is the Python Pillow / opencv implementation of resize_image that is used in test_detector?
The text was updated successfully, but these errors were encountered: