different environment with different parameters #2368
Unanswered
yonglee7015
asked this question in
Q&A
Replies: 1 comment 4 replies
-
Are you sure these are the files being worked on? What if a word is written 90° rotated? It that case, the height of the rectangle corresponds to the written length of the word ... |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
clip_rect = Rect(size_word[0][0] - 10, size_word[0][1] - 25
, size_word[0][2] + 10, size_word[0][1])
you can notice that I am setting a Rect Based on a size_word location.
It works fine in my local machine. But after I deploy it to a web-server(pythonanywhere), I need to adjust 25 to 20 or 15. Why?
same code in different environment need different parameters?
Beta Was this translation helpful? Give feedback.
All reactions