Questions about _get_transform_matrix #2797
Unanswered
zhangtingyu11
asked this question in
Q&A
Replies: 1 comment
-
I have changed |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have some questions about function in this file. I have learned about cv2.getAffineTransform which needs 3 corresponding point pairs. The first pair in this function is the center point of two pictures. But I don't know why the second points pair should be that in the code. I think the
src_dir
anddst_dir
should be[0, src_h * -0.5]
and[0, dst_h * -0.5]
. Can anyone explain why the height dimension should minus the 0.5*width?Beta Was this translation helpful? Give feedback.
All reactions