Skip to content

Conversation

@philipqueen
Copy link
Contributor

@philipqueen philipqueen commented May 29, 2025

Add FastAPI endpoints in anticipation of making a web based frontend to replace the limited tkinter ui.

To Test

Create environment and download the dependencies.

Run __main__.py

Go to the URL printed by FastAPI and add /docs

Interact with the API

Issues

Because FastAPI is running the app in a thread (not the main thread), the OpenCV labelling gui won't open on mac. This gui will be replaced though.

There's also no "would you like to save?" or "where would you like to save?" functionality now. This was easy in tkinter because the frontend was handling more of the controller side of things, but it will take a different paradigm to get it working here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants