Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor code into front- and backend #40

Open
roaldarbol opened this issue Dec 9, 2022 · 9 comments
Open

Refactor code into front- and backend #40

roaldarbol opened this issue Dec 9, 2022 · 9 comments

Comments

@roaldarbol
Copy link
Owner

Could be either Qt or something that runs in the browser like streamlit.

@roaldarbol
Copy link
Owner Author

It might be possible to migrate to Qt6, as it miiiiight be possible to get PySide6 bindings: https://stackoverflow.com/a/74797491/13240268

@roaldarbol
Copy link
Owner Author

Streamlit seems out of the question, as there are issues with multiprocessing and video acquisition.

@roaldarbol
Copy link
Owner Author

Nah, I'll stay with tkinter. But I've started a proper refactoring of the code, so frontend is separated from backend functionality - would make potentially switching in the future a lot easier and maintenance too!

@roaldarbol roaldarbol changed the title Consider new GUI framework Refactor code into front- and backend Feb 16, 2023
@BrianPugh
Copy link

not to throw a wrench into your plans, but also consider:

https://github.com/gradio-app/gradio
https://pynecone.io

@roaldarbol
Copy link
Owner Author

All input is highly appreciated! One thing I currently need is support for multiprocessing and (at the moment) OpenCV. It seems that gradio doesn’t support mp and I can’t find anything on it Pynecone. Just throwing you a bone, if you’d be interested in helping with development it would be immensely helpful - but no pressure!🙈

@roaldarbol
Copy link
Owner Author

I really like the idea of a webapp though!

@BrianPugh
Copy link

I've got enough of my own projects 😄 , but always happy to give an extra set of eyes.

@roaldarbol
Copy link
Owner Author

Hehe, I kinda figured - if you never ask you’ll never know.😜

@roaldarbol
Copy link
Owner Author

Consider using magicgui, which napari uses. Will make it easier to potentially implement a plugin structure and make individual components available in Jupyter Notebooks as well. Super interesting.

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

No branches or pull requests

2 participants