A face recognition application that takes a photo and checks for a match in a folder of identity documents.
py idMatch.py <input_image> <documents_folder>py .\idMatch.py .\Test_Data\sample2.png .\Test_Data\documentfolder\
.\Test_Data\sample2.png not matched in .\Test_Data\documentfolder\py .\idMatch.py .\Test_Data\sample1.png .\Test_Data\documentfolder\
.\Test_Data\sample1.png matched .\Test_Data\documentfolder\document1.png in .\Test_Data\documentfolder\Use the package manager pip to install the following packages.
pip install tensorflowpip install Keraspip install opencv-pythonpip install mtcnnpip install matplotlibpip install keras_vggfaceThe executable named idMatch accepts as parameters:
- The path to the input image.
- A path to a folder containing identity documents.
The user can type in a command line “py idMatch <input_image> <documents_folder>” and receive as output: e.g. “photo1 matched document1 in folder1” if the code matched photo1 to document1 in folder1 or “photo1 not matched in folder1”.