Coder Social home page Coder Social logo

m-ballabio1 / api-ultrasound-classificator Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 0.0 50.11 MB

API for multi-class classification of ultrasound images. The JSON response allows to print the probability of each class

License: MIT License

Python 87.72% Dockerfile 12.28%
api fastapi machine-learning-algorithms scientific-publications ultrasound-imaging

api-ultrasound-classificator's Introduction

API-Ultrasound-Classificator 🩺

Details

This project is an API classifier built using a deep learning architecture. It allows you to classify various types of data with high accuracy. You can interact with the application through a user-friendly Streamlit app. Check out the live demo at App Classifier. The code and detailed documentation can be found in this repository.

VERSION V1▶️

This is the workflow and pipeline utilized in version 1 of this API. The process involves multiple steps, including data collection, preprocessing, feature engineering, model training, validation, and deployment. Each stage is carefully orchestrated to ensure the seamless functioning of the API, delivering efficient and accurate results to users.

mlops_pipeline_versione1

This is the screenshot of web application used a default client of this api.

web_app_st

[Live Demo App: App Classifier]

Repository

The code and detailed documentation can be found in this GitHub repository.

Features

  • FastAPI with deep learning model of classification
  • Hosting API and monitoring access using Render.com
  • Deep learning architecture for accurate classification
  • User-friendly interface powered by Streamlit

Usage

  1. Install the required dependencies.
  2. Clone the repository.
  3. Run the Streamlit app.
  4. Upload your data for classification.
  5. View the classification results.

For more detailed instructions, refer to the documentation in the repository.

Other usage on: [Live Demo App: App Classifier

Image 1: Interaction using Streamlit UI.

Interaction with the API:

POST: https://api-ultrasound-image-classificator.onrender.com/classification

  • Input: images (png or jpg)
  • Output: json string (str with odds of classification in each classes)

Render-API Image 2: Render platform to monitor Https requests sent.

VERSION 2▶️

This is the workflow and pipeline utilized in version 2 of this API. The process involves multiple steps, including data collection, preprocessing, feature engineering, model training, validation, and deployment. Each stage is carefully orchestrated to ensure the seamless functioning of the API, delivering efficient and accurate results to users. There are different approach based on automatization of process using Github actions, push in DockerHub and GCS and deploy on Cloud Run (GCP).

mlops_pipeline_versione2

This is the screenshot of web application used a default client of this api.

web_app_st

[Live Demo App: App Classifier]

Repository

The code and detailed documentation can be found in this GitHub repository.

Features

  • Automatically detection of changes in repository and push in Docker Hub, Google Cloud Registry and deploy in Cloud Run.
  • FastAPI with deep learning model of classification
  • Hosting API and monitoring access using Cloud Run (GCP)
  • Deep learning architecture for accurate classification
  • User-friendly interface powered by Streamlit

Usage

  1. Install the required dependencies.
  2. Clone the repository.
  3. Run the Streamlit app.
  4. Upload your data for classification.
  5. View the classification results.

For more detailed instructions, refer to the documentation in the repository.

Other usage on: [Live Demo App: App Classifier

Image 1: Interaction using Streamlit UI.

Interaction with the API:

POST: https://api-ultrasound-classificator-cloud-run-pa6vji5wfa-ew.a.run.app/classification

  • Input: images (png or jpg)
  • Output: json string (str with odds of classification in each classes)

cloud_run_api

Image 2: Cloud Run Api

Feedback and Contributions

Feel free to provide any feedback or suggestions by creating an issue in the repository. Contributions are also welcome!

License

api-ultrasound-classificator's People

Contributors

m-ballabio1 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.