Rekognizer is a python utility routine that search for Humans on a video (surveillance or similar). The script extracts images frames every X seconds and analyse them in search for Humans, if there is a Human in the video and the analysis confidence is greater than 80%, then returns 1.
Under the hood, it uses Rekognition AWS as deep learning image processing API.
- OpenCV
- Python Imaging Library (PIL)
- Boto3 (AWS) SDK
- Video
- Extract Image Frame from Video every X seconds
export AWS_ACCESS_KEY_ID=XXX AWS_SECRET_ACCESS_KEY=YYY
docker build -r rekognizer .
docker run --rm -it -e AWS_ACCESS_KEY_ID -e AWS_SECRET_ACCESS_KEY -v $PWD:/srv rekognizer /srv/my_video.mp4 15