[Idea] Crop face/entropy #114
Replies: 4 comments
-
This is an excellent idea. Feel free to investigate this further. Image you have a picture of two people sitting side by side. On the right we have Obama, on the left we have Trump. I'm thinking there should be some way of choosing on which face to focus on, otherwise some might think there is fraud going on in the election. It would also be awesome if there would be a method that return the coordinates which were used for the crop. Those coordinates could be stored in a package like medialibrary and be used when generation conversions. But lets start with getting it right in this Image package first. Thanks for your time on this, I'm excited to see what you come up with! |
Beta Was this translation helpful? Give feedback.
-
Hahaha, yes, it's true. It could be an improvement after the first release.
Good idea 💅 |
Beta Was this translation helpful? Give feedback.
-
@freekmurze, I lost my days thinking about these new features. Finally, I came to the conclusions I'm sharing with you. intervention/image Package manipulations I'm happy to share with you all these thoughts, to understand your philosophy about it. |
Beta Was this translation helpful? Give feedback.
-
Appreciate the update!
I'm all for that! 👍 |
Beta Was this translation helpful? Give feedback.
-
Hi guys, this is another great Spatie's package. Thank you for all your work.
Using it, I had the idea to integrate two new manipulations:
Manipulations::CROP_FACE
Detect the first face and crop the image centered on it.
Manipulations::CROP_ENTROPY
Usually, the image part with the major pixel disorder is the most relevant. It crops, centering the disorder.
If you like it, I will work on PR.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions