Skip to content

RohitBhandare/custom-ml-model-signature-detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Signature Detection Flask App

This is a simple Flask web application for signature detection using a pre-trained deep learning model. Users can upload an image, and the application will determine whether a signature is present in the image or not.

Prerequisites

Before running this application, make sure you have the following dependencies installed:

  • Python 3.x
  • Flask
  • OpenCV (cv2)
  • NumPy
  • Keras (with a pre-trained signature detection model)
  • HTML/CSS for web templates

You can install Python dependencies using pip:

pip install flask opencv-python-headless numpy keras

Customization: You can customize this application for your specific needs:

  • Modify the model: Replace signature_detection_model.h5 with your trained model for signature detection.

  • Adjust the image preprocessing: Modify the preprocess_image function in app.py to match your model's input requirements.

  • Update the HTML templates: Customize the index.html and results.html templates to match your application's branding and user interface.

  • Tune the confidence threshold: In app.py, you can change the confidence threshold (0.5 by default) to control when the application classifies an image as having a signature or not.

    Shots:

    Screenshot (292) Screenshot (293) Screenshot (294)