Hi OpenCV team,
I came across the GSoC 2023 idea nr 15 titled “G-API: Implement custom stream sources in Python”, and I found it very interesting and still relevant. I searched through the repository and it seems that this feature hasn’t been implemented yet.
I’m a Bachelor’s student in Computer Science and I’d like to contribute this feature to OpenCV as an external contributor (outside of GSoC). I believe it’s a valuable addition, especially for Python developers using G-API with their own custom data sources.
From what I understand, the main steps would be:
- Implementing a C++ proxy class that delegates to a Python-defined source,
- Exposing this to Python using pybind11,
- Writing tests and (ideally) a short example or tutorial.
The key point, of course, would be to discuss and agree on the Python API: how should the user define and register their custom source? I’d be happy to propose something and iterate on your feedback.
Could I go ahead and work on this feature? Would someone from the G-API team be willing to help validate the design?
Thanks in advance!
Rita Melo