Example of input image:
This project in not finished.
These scripts need python 2.7.x and the following libraries to work:
-
sklearn==0.0
-
imutils==0.5.1
-
numpy==1.15.2
-
opencv-python==3.4.3.18
-
Pillow==5.3.0
-
scikit-learn==0.20.0
-
scipy==1.1.0
-
Install python. Just use the installer from python's website
-
Install numpy.
-
Install python-opencv. Download the release from its sourceforge site. (Choose the release based on your operating system, then choose version 2.4.12). The executable is just an archive. Extract the files, then copy
cv2.pyd
to thelib/site-packages
folder on your python installation path. Fow Windows you can takecv2.pyd
file from repo, directory/libs/cv2
. -
Install pip. Download the script for installing pip, open cmd (or termianl if you are using Linux/Mac OS X), go to the path where the downloaded script resides, and run
python get-pip.py
-
Install pillow. Run
pip install pillow
. -
Install scikit-learn. Run
pip install scikit-learn
Run this file cv/main.py
This project is licensed under the MIT License - see the LICENSE file for details