saifkhichi96 / signature-extraction Goto Github PK
View Code? Open in Web Editor NEWProgram to extract signatures from documents.
Home Page: https:/www.saifkhichi.com/signature-extraction/
License: MIT License
Program to extract signatures from documents.
Home Page: https:/www.saifkhichi.com/signature-extraction/
License: MIT License
Describe the bug
Because of patented algorithms like surf and sift being removed from opencv-contrib, installing via the given method in the readme is not working.
To Reproduce
Steps to reproduce the behavior:
Try installing and running the program.
Expected behavior
Opencv-contrib library wont install
How to fix
I installed the following packages in a conda environment one by one and then used a special flag to install opencv-contrib and it worked
Create conda environment with the name 'signature_extraction' and activate virtual env
conda create --name signature_extraction
conda activate signature_extraction
Install packages one by one (requirements.txt not working properly because of different channels)
conda install -c anaconda joblib
conda install -c anaconda numpy
conda install -c anaconda scikit-learn
conda install -c anaconda scipy
conda install -c conda-forge opencv
conda install -c conda-forge threadpoolctl
conda install -c conda-forge tqdm
opencv-contrib package will have to be built from source with NONFREE flag set. If this package installed directly then we wont be able to use a crucial function in the code. This might take some time.
CMAKE_ARGS="-DOPENCV_ENABLE_NONFREE=ON" pip install --no-binary=opencv-contrib-python opencv-contrib-python
Once all packages are installed to the virtual env, cd to the project directory and run the GUI app with
python3 src/extract_gui.py
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.