Replies: 1 comment 1 reply
-
Hi @mur-wtag, Sorry, I'm very busy right now, I probably won't be able to look at this until July. Some sample images and complete, runnable code would be useful. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We have using
ruby-vips
for a long time and it's amazing. Lately, we have found some images are uploaded in flipped or not in right orientation! We tough.autorot
will resolve this issue but it's not.So, I've been trying to detect human face (as our system instruct user to upload portrait image of themselves). For that I'm using
hough_circle
to detect largest circle in the image (human face as circle).I've reuse your code you suggested here #276 (comment) and with help of that I've found largest circle in the image. Note: I've searched for circle which is quarter of the image and getting
x, y
coordinate of the center :with help of the center I've been using this logic to determine the
degree to rotate
:with this it seems like it's not working in most of the cases. So, could you guys help me to resolve this issue? It would be really it will be really appreciated!
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions