Validation and verification

Please can someone help me with a php code which will scan and know image before uploading to the website. example only pictures of buildings can be uploaded and not any other object please.

1 answer

  • answered 2019-05-15 03:19 Soli Technology LLC

    This can't be done just by PHP you can use Google Vision to detect the content of the picture. For example, Google vision will tell you if the image contains adult content or not or it is a building or not. Check out the link. They have a demo and you can upload your photo and see what you get. They have a PHP SDK that you can use.