alicevision/CCTag

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

anand97 opened this issue · 1 comments

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.

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.