Skip to content

Theyyam Classifier API: A simple API for image classification using TensorFlow, served over Django and deployed on Azure.

Notifications You must be signed in to change notification settings

abdulhakkeempa/theyyam-classifier-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Theyyam Classifier API

Description

This project is a REST API developed using Django and Django REST Framework. The objective of this project is to wrap a TensorFlow-based image classification model into a REST API. The API was then deployed on an Azure Virtual Machine using NGINX.

Features

The API provides an endpoint to upload an image and receive the prediction from the TensorFlow model. Please note that this API does not implement any authentication.

Installation

  1. Clone the repository to your local machine using git clone https://github.com/abdulhakkeempa/theyyam-classifier-api.git.
  2. Navigate to the project directory and install the necessary dependencies using pip install -r requirements.txt.
  3. Create a folder named 'model' in the root directory. Place your model, checkpoints, and label encoder (label_encoder.pkl) in this folder. If your label encoder has a different name, please update the code accordingly.
  4. Run the application using python manage.py runserver.

Usage

After successful installation, you can use the API endpoint to upload an image and receive the prediction from the TensorFlow model.

Contributing

Contributions are welcome. Please feel free to submit a pull request or open an issue.

About

Theyyam Classifier API: A simple API for image classification using TensorFlow, served over Django and deployed on Azure.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages