DEV Community


Posted on • Updated on • Originally published at

Build Flask App For Image Recognition Using DL Model In Python

Here's a preview of the app.

To access the step by step tutorial on how to make this flask app using Python, Visit the article below๐Ÿ‘‡๐Ÿ‘‡

Build Flask App For Image Recognition Using Deep Learning Model

The web app we will make is about predicting the image of a hand sign digit. The model is trained on the dataset named "American Hand Digit Sign Language" found on Kaggle. This tutorial will focus on making a web app using the Flask web framework, so...


Here's the full source code on GitHub๐Ÿ‘‡๐Ÿ‘‡

GitHub logo Sachin-crypto / Flask_Image_Recognition

This Flask webapp is all about predicting the hand sign digit images based on the deep learning model trained using transfer learning.

Hand Digit Image Recognition

This web app is made using Flask framework and is all about predicting the hand sign digit images based on the deep learning model trained using transfer learning.

Python Keras Numpy Pillow Flask Bootstrap




  • Flask
  • TensorFlow (Keras)
  • Numpy
  • Pillow (PIL)

UI Framework

  • Bootstrap

Get Started

Clone the repository in your project directory.

git clone


Download as ZIP file and extract it in your project directory.

Install Dependencies

Install the dependencies from the requirements.txt file.

pip install -r requirements.txt


cd into the current directory and run the script.

flask --app run --debug

Click here to get the detailed guide on running the Flask app from the command line.


  • Choose an image from the test images folder.
  • You will see a preview of the uploaded image.
  • Click on Submit button and see the magic.

๐Ÿ†Other article you might like

Build A Custom Deep Learning Model Using Transfer Learning

Introduction Transfer learning is used in machine learning and is a method in which already-trained or pre-trained neural networks are present and these pre-trained neural networks are trained using millions of data points. This technique is currentl...


Upload and Display Images On the Frontend Using Python Flask

Introduction Flask is a micro web framework written in Python for web development using Python. We can do almost everything in Flask by writing Python code as we do in JavaScript for making an application. But things get a little tricky and tedious w...


An Intuitive Guide On Data Augmentation In Deep Learning - Techniques With Examples

Data is the main spice in the recipe of machine learning and deep learning. It is said that a good amount of data is responsible for developing a better-performing AI model. Nowadays, many AI-based services and applications are driven by deep learnin...


Top comments (0)