VPI for template matching algorithm

hi sir ,

Is it possible to get minimum and maximum values after templating matching ? just like in opencv : res = cv.matchTemplate(image,template,cv.TM_CCORR)
min_val, max_val, min_loc, max_loc = cv.minMaxLoc(res)
As per VPI documentation : vpi.Image.minmaxloc() return locations , just wanted to know is there any ways to get minimum/maximum values?

@WayneWWW please help


The MinMaxLoc(.) API only returns the locations.
So you will need to get the value with the returned key point manually.



we want do those calculations within gpu only using VPI it will use CUDA right, please help on this


VPI use GPU if CUDA backend is chosen.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.