Coder Social home page Coder Social logo

saifkhichi96 / signature-extraction Goto Github PK

View Code? Open in Web Editor NEW
14.0 14.0 4.0 3.97 MB

Program to extract signatures from documents.

Home Page: https:/www.saifkhichi.com/signature-extraction/

License: MIT License

Python 100.00%
machine-learning

signature-extraction's Introduction

built with omas rezept certified by cousin terio powered by black magic

Hello, I am Saif Khan

GitHub followers Visit counter

Android Developer and AI Researcher

Visit Homepage Contact Me


GitHub Streak GitHub Streak

signature-extraction's People

Contributors

saifkhichi96 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

signature-extraction's Issues

Broken requirements.txt because of changes in opencv-contrib library

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

Installation - WORKING USING CONDA

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.