Implement OpenCV’s minMaxLoc() function
I was using OpenCV’s cv::minMaxLoc()
funtion in my code. But due to some restrictions on the device, I can’t call it from OpenCV and have to implement it myself from scratch. But it doesn’t work as expected. What is the issue with the code?