ITADN

cv2.cuda_GpuMat()

#13723OpenSwHaraday 创建于 2026-03-17
questiondetect
S
SwHaradaycommented
### Search before asking - [x] I checked the docs, issues, and discussions and could not find an answer. ### Question Hi Glenn, It's been a while. Thanks to your great work, our yolov5 system has been deployed across 7 lines. I'm wondering if it is possible that resize and letterbox are done on GPU using cv2.cuda_GpuMat(). I knew these 2 proccesses take 5 to 7 milli-second which is about half of total inference time. Is it possible to feed cv2.cuda_GpuMat() directly to yolov5s(ver.6.0) model ? If this is already answered, please kindly guide me. Thank you for your continuing effort for democratization of object detection. ### Additional _No response_
1 条评论