Custom aspect ratio #2916
Unanswered
ArkadiyEpanov
asked this question in
Q&A
Replies: 1 comment 5 replies
-
@Selar007 in YOLOv5 you specify the size of the largest image dimension only. The smaller dimension is handled automatically to meet padding constraints and retain a resize-aspect ratio of 1.0.
|
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I have a question related to the aspect ratio. When I start object detection with the 1280 setting, the frame height is automatically determined as 960. In the logs, I get the resolution in the reverse order of 960x1280. The videos from the camera come in 1280 by 1024. Am I doing something wrong? I can't find how to change the ratio settings for my cam. I would be grateful for any advice!
Beta Was this translation helpful? Give feedback.
All reactions