Hello beloved & ambitious ImageJ developers,
I want to call some CPython code from within my ImageJ plugin. (Labkit)
How could this be done? The python code uses numpy and PyTorch, and is therefore incompatible with Jython. The solution should allow to be deployed via ImageJ update site.
I know this task can be solved: I could bundle the python code as self containing, platform dependend, binary using pyinstaller. The binary can easilly be started from Java. And data could be transferred, using files, stdio, or networking.
What would be a nice solution to run CPython from within ImageJ?
@hanslovsky What do you think? Can ImgLyb be used to run python from java?
@ctrueden Are there already plans to solve this task? Can I contribute?