Skip to content

A simple Flask API for predicting whether a person could be a Parkinson's patient or not based on some basic drawings of random shapes drawn by them.

Notifications You must be signed in to change notification settings

dexterthemsb/rest-api-parkinsons

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

💢 REST API for Parkinson's Diagnosis

A simple Flask API for predicting whether a person could be a Parkinson's patient or not based on some basic drawings of random shapes that he / she has drawn.

Deployed at: https://rest-api-parkinsons.onrender.com/

🚀 Installation

Just clone the repository and run the following command in a virtual environment:

pip install -r requirements.txt

📣 Usage

There are two end points:

  1. GET @ '/' - which returns the following:
{
  "msg": "Server is running."
}
  1. POST @ '/predict' - It consists of a body with type as form-data with a key file and a success response with the prediction (healthy or parkinson are the two labels).
{
    "label": "parkinson",
    "tensor": "tensor([4.9958e-04, 9.9950e-01])"
}

✌️ Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. Always looking ahead for suggestions to improve. Cheers!

📜 License

MIT

🔨 Project Status

Up and running. Always adding new features.

About

A simple Flask API for predicting whether a person could be a Parkinson's patient or not based on some basic drawings of random shapes drawn by them.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages