Image Classifier with Django and React

Video description

This course shows you how to build an AI-driven image classifier project using React, the Django REST framework, and a Keras pre-trained model. You’ll also learn how to integrate a ready convolutional neural network (CNN) model from Keras applications with Django.

The course starts with an overview of Django and React, helping you gain both theoretical and practical knowledge. You’ll learn how to implement new functionalities in a step-by-step manner to create a project. As you advance, you’ll understand how the app’s frontend and backend work, and even learn how to test your classifier and catch errors. Later, you’ll delve into adding features such as styling, buttons, the navigation component, and spinners which will help in creating a user-friendly app.

By the end of this course, you’ll have built a modern web application that will classify images and store the classification history efficiently.

What You Will Learn

  • Create a RESTful API with the Django REST framework
  • Discover how to integrate Django with React
  • Find out how to create a single page application
  • Add features such as the ‘load more images’ button and spinners to the React app
  • Implement the ‘drag and drop’ functionality using Dropzone
  • Integrate a Keras CNN model with Django


This course is for all beginner Python, Django, and React developers who want to learn how to build image classifier web apps and enhance their professional portfolios.

About The Author

Lukasz Makinia: Lukasz Makinia is a freelance web developer and a Lean Sigma Six Black Belt. From the beginning of his 8-year professional career, he’s related to the field of continuous improvement by providing IT and Lean Management solutions to medium and large companies. He also creates web applications mainly for data gathering and processing using Python/Django, JavaScript, React, and ML. In his free time, Luke writes articles for his blog—PyPlane.

He is associated with “Django Ninjas”—a web framework for building APIs with Django and Python 3.6+ type hints. They provide online educational courses mainly about Python/Django by the community of web developers across the globe. Their classes are project-based only, which means “teaching by doing”.

Publisher resources

Download Example Code

Product information

  • Title: Image Classifier with Django and React
  • Author(s): Lukasz Makinia
  • Release date: July 2020
  • Publisher(s): Packt Publishing
  • ISBN: 9781800565784