Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

you currently retrieve the min pos from your prediction result, not the desired max position.

please use:

cv::minMaxLoc(Result,0,0,0,&max_loc);