I would like to know if there's any PHP code available in order to recognize a pet (dog/cat) in a photo. I got a php app that once an image is being uploaded to it, I need PHP to automatically recognize if its a dog or cat, and if possible also tell its color (brown, white etc).
Edit: well according to the answers it seems like I've been asking for too much, so to make it more clear: does any of you know if there's anyway to recognize a pet face instead of a human? that could be good enough as a start.
This isn't really a language "capability". What you need to research is Deep Learning and Deep Neural Networks. Most projects I've seen on these have been in C and Python, but it's technically possible with PHP (although probably not optimal).