This is a small project that shows how we can implement face detection solution using AWS Recognition.
- Python Installed
- Virtualenv installed
- Configured make
-
Create virtual environment
make venv
-
Install dependencies
make setup
- Open file
main.py
in your favourite editor. - If you want to analyze face from images of your local file system, then please add your image inside folder
images
and provide complete path of your image file. - If you want to analyze face fro s3, then you need to provide loacation of your S3 bucket and also the name of image file.
- Run file
main.py
. You will be able to see the analysed reponse of your image.
make check
: To check codemake format
: To format code
python cli.py detect_face_local --file-path "path_to_image_file"
python cli.py analyse_local --file-name "image_file_name" --bucket "your s3 bucket url"
python cli.py analyse_local --file-path "path_to_image_file"
python cli.py analyse_s3 --file-name "image_file_name" --bucket "your s3 bucket url"