OpenCL_acceleration #1

Merged
e.rosendahl merged 4 commits from OpenCL_acceleration into gstreamer-santo/yolo-object-detection-element 2025-08-20 19:58:45 +02:00
Showing only changes of commit 0bc5e631d6 - Show all commits

View File

@ -335,7 +335,7 @@
img.copyTo(cv_input_umat);
/* do the undistort */
cv::remap (cv_input_umat, cv_output_umat, undist->map1.getUMat(cv::ACCESS_READ), undist->map2.getUMat(cv::ACCESS_READ), cv::INTER_LINEAR);
cv::remap (cv_input_umat, cv_output_umat, undist->map1, undist->map2, cv::INTER_LINEAR);
/* UMat output back to Mat */
cv_output_umat.copyTo(outimg);