I want to detect a certain shape in an photo using PHP. Take a look at the following photo of my girlfriend.
This photo has a few black corners in it. I would like to detect those corners and cut out whats in side of it. (Like in the example image above).
I'd like to do this in PHP without the use of any 3rd party library.
Any idea how to do this and what algorithms i can use to detect (basic?) shapes like that?
It would be easy though it may require intensive computing on server side.
It can be achieved by
My answer my look vague but the only real answer to is code.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With