Skip to content
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

degrees is radians? #2160

Closed
gengyanlei opened this issue Feb 8, 2021 · 4 comments
Closed

degrees is radians? #2160

gengyanlei opened this issue Feb 8, 2021 · 4 comments
Labels
Stale Stale and schedule for closing soon

Comments

@gengyanlei
Copy link

R[:2] = cv2.getRotationMatrix2D(angle=a, center=(0, 0), scale=s)

@iceisfun
Copy link

This looks like an opencv question, it seems the angle is degrees with positive values being counter-clockwise according to the opencv 3.4 documentation

https://docs.opencv.org/3.4.12/da/d54/group__imgproc__transform.html#gafbbc470ce83812914a70abfb604f4326

@gengyanlei
Copy link
Author

@iceisfun
tks,opencv defined angle is degrees,but yolov5 define opencv‘s input is not!

degrees: 0.373

@glenn-jocher
Copy link
Member

glenn-jocher commented Feb 18, 2021

@gengyanlei 'degrees' indicates that the hyperparameter unit is degrees.

Forall hyperparameter comments and units see:
https://github.com/ultralytics/yolov5/blob/master/data/hyp.scratch.yaml

@github-actions
Copy link
Contributor

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the Stale Stale and schedule for closing soon label Mar 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Stale Stale and schedule for closing soon
Projects
None yet
Development

No branches or pull requests

3 participants