-
Notifications
You must be signed in to change notification settings - Fork 5
Description
This is a very good project, except for the vision-cli and C++ calling methods.
Could you add support for calling Python?
Because vision-cli processes data via the command line, it's suitable for single image input or output.
For example, if I want to use Real-ESRGAN to process video frames, single image I/O might involve frequent disk reads and writes, which is inefficient.
Each time a command is called, the model needs to be loaded.
vision-cli esrgan -m ESRGAN-4x-foolhardy_Remacri-F16.gguf -i input.png -o output.png
If you could support Python's inference calls to vision, just like the C++ calling method,
that would be much easier to operate. We know that Python is a very simple language, and combined with the vision.cpp inference library,
loading the model once and processing the video input would be fantastic.
I think it would be wonderful. Is this possible?
Python + vision.cpp, ( without using PyTorch)
Or, could you encapsulate the vision.cpp API into a library that Python can call ?