This software extracts the photo of a person on an ID Card, using Haar Cascades and Histograms to select the best (highest-quality) image.
To run the program, you should have downloaded, installed an running in your PC/laptop:
To run the program, open the command line and write:
cd photo_extractor/
python photoExtractor.py #Number_of_images_to_take(int)
Then you should have a window as this:
So you only have to put the ID card in front of your webcam, and let the magic begin!
- Fork it!
- Create your new feature branch:
git checkout new-feature-branch
- Commit your changes
git commit -am 'Your new feature'
- Push to branch
git push origin new-feature-branch
- Submit a pull request!
Carlos Córdova and Edgardo Acosta
This project was part of the course of Image Processing in the USP (Universidade de Sao Paulo) - Sao Carlos.
June - 2017