cyrusbehr / tensorrt-cpp-api

TensorRT C++ API Tutorial
MIT License
587 stars 73 forks source link

Add support for grayscale images #83

Open thomaskleiven opened 2 weeks ago

thomaskleiven commented 2 weeks ago

Should be quite straightforward to add support for grayscale images. From my understanding, a small refactoring of resizeKeepAspectRatioPadRightBottom and blobFromGpuMats should be all that's needed.