Skip to content

SoySauceNZ/backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Backend

Used to serve tensorflow model using API (model not included)

  • POST /predict get prediction for one image name and data
  • POST /upload upload a image
  • GET /list list all image filenames
  • GET /images/:filename Get image name

Run

uvicorn main:app --reload

Docs

https://api.severity.ml/docs

POST Endpoints

POST /upload upload image using multipart/form-data

  • recommended size is 500x500 rgb image POST /predict predict using
{
  "filename": "string",
  "weather": "string",
  "brightness": 0,
  "speed": 0
}

About

Hosting tensorflow keras model using FastAPI. Provide users to upload their own images and call the model to make real time prediction.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages