Coder Social home page Coder Social logo

simis00873 / signature_detection_app Goto Github PK

View Code? Open in Web Editor NEW

This project forked from enzoseason/signature_detection_app

0.0 1.0 0.0 24.67 MB

A web application for signature detection.

License: MIT License

Shell 0.26% Python 25.07% TypeScript 68.57% CSS 0.54% HTML 2.72% Dockerfile 2.84%

signature_detection_app's Introduction

Signature Detection App

A web application for signature detection.

It's based on the signature detection tool I created.

Features

This app has 3 features.

In the end, user can download the result as a json file.

Detect the signature

detect

Correct the error

correct_error

Add a signature

add_signature

Install

This application is shipped with Docker.

After downloading the codes, you can run it in 2 modes.

dev mode:

cd signature_detection_app
docker-compose up

production mode:

cd signature_detection_app
docker-compose -f docker-compose.yml up

That's all! The application is run at localhost.

Structure

The application is composed by 3 parts.

  • frontend

    It is created by CRA (create-reat-app), written by Typescript.

  • backend

    It uses Fastapi, a Python web framework.

  • web server

    It is Nginx. It proxys the requests.

For now, no database is connected. It's very easy to extend with docker-compose.

Testing

  • Frontend:

    CRA includes the testing-library.

    To test the file you create or modify, run:

    cd signature_detection_app/frontend
    npm test -- --coverage

    To test all the files, run:

    cd signature_detection_app/frontend
    npm test -- --watchAll=false --coverage
  • backend:

    I uses pytest and coverage for backend testing.

    To see the test coverage, run:

    cd signature_detection_app
    source backend-coverage.sh 

Future reading

signature_detection_app's People

Contributors

enzoseason avatar

Watchers

James Cloos avatar

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.