Skip to content

jdavisonc/rekognizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Rekognizer

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.

Dependencies

  • OpenCV
  • Python Imaging Library (PIL)
  • Boto3 (AWS) SDK

Arguments

  1. Video
  2. Extract Image Frame from Video every X seconds

How to run

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

About

Human detector on a Video using Rekognition AWS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages