You can use this tool to prepare a photo for the Green Card Lottery.
GC-Autocrop automatically crops the photo to a size of 600x600 pixels.
Pre-Requiredment:
Install the required libraries.
python -m pip install -r requirements.txt
Usage:
python gc-autocrop.py [path]photo.jpg
Example: python gc-autocrop.py C:\Users\User\Desktop\photo.jpg
Note that using this tool does not guarantee that the photo will meet all necessary requirements.
After the photo has been cropped, make sure that it meets all the requirements.
For example you can use this service to check the photo: https://greencardphotocheck.com/en/
