Open sdvillal opened 4 years ago
Hmmm. We should definitely go with something that'll be supported on all platforms.
I've been looking at qupath's scripting interface and I believe it should be possible to write a minimal qupath plugin that just offers all of the scripting interface via libzmq.
I also thought about this, I initially thought it is not so simple. Having an "API server" in a running QuPath instance would require exposing quite a bit of non-trivial APIs (so we would need to somewhat marshall java object specifications back and forth).
I was thinking (as a production ready 🤣 hack) if it's possible to generate groovy on the python side, transmit via some messaging layer and execute in the qupath plugin.
Oh, so nasty, I like it!
A project we can look at is: https://github.com/imagej/pyimagej
Oh, so nasty, I like it!
We'll just need some perfume for the code smell 😄
A project we can look at is: https://github.com/imagej/pyimagej
nice! very interesting.
(itemized from #4 )
Ha someone did the groundwork: https://github.com/arjvik/QuPath-Scripts
I had not seen that, good catch!
This is easy on linux, almost impossible on macos, I have not tried on windows.
As an alternative, there are OS-dependent libraries that allow to instrument GUIs (for example, back in the day I had mild success instrumenting ImageScope using pywinauto).