code4sac/trash-ai

[Feature]: API Endpoint

Opened this issue · 0 comments

Guidelines

  • I agree to follow this project's Contributing Guidelines.

Description

An API endpoint for independent app/project use. I and my friends are building a recycling app for the Congressional App Challenge, and the plan was to implement this model as a "detector feature".

Problem

It is currently not possible to just return the classified imaged, for use In the app. I also found difficulty directly downloading the model to build my own API for the app.

Proposed Solution

A simple endpoint to send in the undetected image and receive the classified image. I am happy to build it out and push it for use in the repository once completed. For this, I would need the trained model, and I believe the code for mapping the detection to the image is already in the GitHub in the training code.

Alternatives Considered

If you could get the web app itself to accept posts and return the classified image, this would also remedy the issue.