All Projects → maddevsio → Idmatch

maddevsio / Idmatch

Licence: mit
Match faces on id cards with OCR capabilities.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Idmatch

Ocrtable
Recognize tables and text from scanned images that contain tables. 从包含表格的扫描图片中识别表格和文字
Stars: ✭ 155 (+198.08%)
Mutual labels:  opencv, ocr, tesseract
Pytesseractid
使用 pytesseract ocr 识别 18 位身份证号
Stars: ✭ 23 (-55.77%)
Mutual labels:  opencv, ocr, tesseract
Swiftytesseractrte
SwiftyTesseract Real-Time Engine
Stars: ✭ 49 (-5.77%)
Mutual labels:  ocr, tesseract
Fast face detector
A face detector based on the work "Aggregate channel features for multi-view face detection" presented by Bin Yang, Junjie Yan, Zhen Lei and Stan Z. Li.
Stars: ✭ 35 (-32.69%)
Mutual labels:  opencv, face-detection
Facer
Simple (🤞) face averaging (🙂) in Python (🐍)
Stars: ✭ 49 (-5.77%)
Mutual labels:  opencv, face-detection
Tesseract Python
Examples to implement OCR(Optical Character Recognition) using tesseract using Python
Stars: ✭ 49 (-5.77%)
Mutual labels:  ocr, tesseract
Brfv4 mac examples
macOS C++ examples utilizing OpenCV for camera access and drawing the face tracking results.
Stars: ✭ 25 (-51.92%)
Mutual labels:  opencv, face-detection
Android Hpe
Android native application to perform head pose estimation using images coming from the front camera.
Stars: ✭ 46 (-11.54%)
Mutual labels:  opencv, face-detection
Mocr
Meaningful Optical Character Recognition from identity cards with Deep Learning.
Stars: ✭ 19 (-63.46%)
Mutual labels:  opencv, face-detection
Lambda Packs
Precompiled packages for AWS Lambda
Stars: ✭ 997 (+1817.31%)
Mutual labels:  opencv, tesseract
Pan card ocr project
To extract details from Indian National Identification Cards such as PAN (completed) & Aadhar, Passport, Driving License (WIP) in a structured format
Stars: ✭ 39 (-25%)
Mutual labels:  ocr, tesseract
Predict Facial Attractiveness
Using OpenCV and Dlib to predict facial attractiveness.
Stars: ✭ 41 (-21.15%)
Mutual labels:  opencv, face-detection
Javascript Bcr Library
Offline business card reader
Stars: ✭ 24 (-53.85%)
Mutual labels:  ocr, tesseract
Cogstack Pipeline
Distributed, fault tolerant batch processing for Natural Language Applications and Search, using remote partitioning
Stars: ✭ 26 (-50%)
Mutual labels:  ocr, tesseract
Tesseract
A PHP wrapper for the Tesseract OCR engine
Stars: ✭ 19 (-63.46%)
Mutual labels:  ocr, tesseract
Ng Open Cv
Angular 6+ & OpenCV.js integration service library
Stars: ✭ 36 (-30.77%)
Mutual labels:  opencv, face-detection
Facifier
An emotion and gender detector based on facial features, built with Python and OpenCV
Stars: ✭ 52 (+0%)
Mutual labels:  opencv, face-detection
Facepixeler
A simple C# program that can automatically detect and blur faces in images. Uses OpenCV and EmguCV.
Stars: ✭ 5 (-90.38%)
Mutual labels:  opencv, face-detection
Prlib
Pre-Recognition Library - library with algorithms for improving OCR quality.
Stars: ✭ 18 (-65.38%)
Mutual labels:  opencv, ocr
Ocrbot
An OCR (Optical Character Recognition) bot for Mastodon (and compatible) instances
Stars: ✭ 39 (-25%)
Mutual labels:  ocr, tesseract

idmatch

System requirements:

Ensure you have enough RAM. I failed to build opencv with 1gb of RAM, works OK with 6gb of RAM. compiler tools and needed libraries

Opencv3:

$ sudo apt-get install build-essential
$ sudo apt-get install libtool autoconf
$ sudo apt-get install cmake git libgtk2.0-dev pkg-config libavcodec-dev libavformat-dev libswscale-dev
$ sudo apt-get install python-dev python-numpy libtbb2 libtbb-dev libjpeg-dev libpng-dev libtiff-dev libjasper-dev libdc1394-22-dev

Get fresh opencv: Select stable version 3.2.0 for development:

$ cd ~/<my_working_directory>

# Download and unpack opencv and opencv_contrib version 3.2.0:
$ wget https://github.com/opencv/opencv/archive/3.2.0.tar.gz
$ wget https://github.com/opencv/opencv_contrib/archive/3.2.0.tar.gz

$ cd opencv-3.2.0
$ mkdir build
$ cd build
$ cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=/usr/local -D OPENCV_EXTRA_MODULES_PATH=../../opencv_contrib/modules/ -D BUILD_PYTHON_SUPPORT=ON ..
$ make -j3
$ sudo make install

Tesseract OCR:

$ sudo apt-get install tesseract-ocr
$ sudo apt-get install tesseract-ocr-kir 

Caffe v1.0

Ubuntu installation:

sudo apt-get install python-dev python-pip build-essential  
sudo apt-get install libatlas-base-dev libopenblas-dev  
sudo apt-get install libprotobuf-dev libleveldb-dev libsnappy-dev libopencv-dev libhdf5-serial-dev protobuf-compiler  
sudo apt-get install --no-install-recommends libboost-all-dev  
sudo apt-get install libgflags-dev libgoogle-glog-dev liblmdb-dev  

Compilation:

$ wget https://github.com/BVLC/caffe/archive/1.0.tar.gz
tar xvf 1.0.tar.gz
cd caffe-1.0/
cp Makefile.config.sample Makefile.config

Be sure to set your Python paths in Makefile.config first.

Update this strings in Makefile.config:

-# CPU_ONLY := 1
-# OPENCV_VERSION := 3
-INCLUDE_DIRS := $(PYTHON_INCLUDE) /usr/local/include
-LIBRARY_DIRS := $(PYTHON_LIB) /usr/local/lib /usr/lib

+CPU_ONLY := 1
+OPENCV_VERSION := 3
+INCLUDE_DIRS := $(PYTHON_INCLUDE) /usr/local/include /usr/include/hdf5/serial/
+LIBRARY_DIRS := $(PYTHON_LIB) /usr/local/lib /usr/lib /usr/lib/x86_64-linux-gnu/hdf5/serial/

After changing Makefile.config:

make all -j4
make test
make runtest

Python bindings:

pip install numpy
make pycaffe

Download vgg caffe model

$ cd idmatch/matching/model/ 
$ wget http://www.robots.ox.ac.uk/~vgg/software/vgg_face/src/vgg_face_caffe.tar.gz
$ tar xfvz vgg_face_caffe.tar.gz

Caffe levels are:

0 - debug
1 - info (still a LOT of outputs)
2 - warnings
3 - errors
export GLOG_minloglevel = '3'

Application requirements:

pip install -r requirements.txt

Usage:

Command line interface:

# Running CLI
$ ./cli.py --img <path/to/image>
$ ./cli.py --help

Running web server

$ gunicorn web.server:app -b 127.0.0.1:8000
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].