roaldarbol / bux

🐞 A simple GUI for running experiments
MIT License
2 stars 0 forks source link

Refactor code into front- and backend #40

Open roaldarbol opened 1 year ago

roaldarbol commented 1 year ago

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

roaldarbol commented 1 year ago

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

roaldarbol commented 1 year ago

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

roaldarbol commented 1 year ago

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!

BrianPugh commented 1 year ago

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

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

roaldarbol commented 1 year ago

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 commented 1 year ago

I really like the idea of a webapp though!

BrianPugh commented 1 year ago

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

roaldarbol commented 1 year ago

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

roaldarbol commented 1 year ago

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.