How it works

1. Google Drive checks the chosen folder for newly uploaded photos on a timer. 2. For each new photo, the file is downloaded. 3. Engini AI looks at the image and decides whether it meets passport photo rules, returning a valid flag, a description and the reasons if it fails. 4. Gmail emails the verdict and description with a link to the photo.