alicevision / CCTag

Detection of CCTag markers made up of concentric circles.
https://cctag.readthedocs.io
Mozilla Public License 2.0
351 stars 87 forks source link

[request] Support for cv::cuda::GpuMat #202

Closed anand97 closed 9 months ago

anand97 commented 1 year ago

I fetch images from a camera directly in GPU memory, and then run them through a neural net on the GPU. Since the CCTag library already supports CUDA, I think a useful addition would be to accept a cv::cuda::GpuMat which is already in GPU memory, which will avoid an additional copy operation out of the GPU. It behaves similar to a cv::Mat as well, which should make implementation easy. Currently the cctagDetection method accepts a cv::Mat.

I am not well versed with the source code to try this out on a fork myself, but I'm happy to discuss and assist building this feature as it will help my work as well.

github-actions[bot] commented 9 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.