Skip to content

Repository files navigation

Bank Note Authentication API

A RESTful API built with FastAPI that predicts whether a bank note is authentic or counterfeit using a machine learning classification model. The API provides fast and reliable predictions based on note characteristics.

🚀 Features

  • Predicts bank note authenticity
  • REST API built with FastAPI
  • Machine learning classification model
  • Interactive API documentation with Swagger UI
  • Lightweight and easy to deploy

🛠️ Tech Stack

  • Language: Python
  • Framework: FastAPI
  • Machine Learning: Scikit-learn
  • Data Processing: Pandas, NumPy
  • Model Persistence: Pickle
  • Server: Uvicorn
  • Tools: Git, GitHub

📂 Project Structure

Bank_note-fastApi/
├── model/
├── app.py
├── model.pkl
├── requirements.txt
└── README.md

⚙️ Installation

git clone https://github.com/ShivamSatpute203/Bank_note-fastApi.git
cd Bank_note-fastApi
pip install -r requirements.txt

▶️ Usage

Start the FastAPI server:

uvicorn app:app --reload

Open your browser and access:

  • API: http://127.0.0.1:8000
  • Swagger UI: http://127.0.0.1:8000/docs

📚 What I Learned

  • Building REST APIs with FastAPI
  • Deploying machine learning models
  • API testing using Swagger UI
  • Model serialization with Pickle
  • Backend development for AI applications

🔮 Future Improvements

  • Dockerize the application
  • Add authentication and authorization
  • Deploy to a cloud platform
  • Support batch predictions
  • Add model monitoring and logging

👨‍💻 Author

Shivam Satpute

About

FastAPI-based machine learning API that predicts whether a bank note is authentic or counterfeit using a trained classification model.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages