Searched refs:detectionMat (Results 1 – 3 of 3) sorted by relevance
/dports/graphics/digikam/digikam-7.4.0/core/libs/facesengine/detection/opencv-dnn/ |
H A D | dnnfacedetectorssd.cpp | 138 cv::Mat detectionMat(detection.size[2], detection.size[3], CV_32F, detection.ptr<float>()); in postprocess() local 142 for (int i = 0 ; i < detectionMat.rows ; ++i) in postprocess() 144 float confidence = detectionMat.at<float>(i, 2); in postprocess() 148 float leftRatio = detectionMat.at<float>(i, 3); in postprocess() 149 float topRatio = detectionMat.at<float>(i, 4); in postprocess() 150 float rightRatio = detectionMat.at<float>(i, 5); in postprocess() 151 float bottomRatio = detectionMat.at<float>(i, 6); in postprocess()
|
H A D | dnnfacedetectorssd.h | 51 void postprocess(cv::Mat detectionMat,
|
/dports/graphics/opencv/opencv-4.5.3/contrib/modules/mcc/src/ |
H A D | checker_detector.cpp | 296 Mat detectionMat(output.size[2], output.size[3], CV_32F, output.ptr<float>()); in process() local 298 for (int i = 0; i < detectionMat.rows; i++) in process() 300 float confidence = detectionMat.at<float>(i, 2); in process() 303 … float xTopLeft = max(0.0f, detectionMat.at<float>(i, 3) * cols - params->borderWidth); in process() 304 … float yTopLeft = max(0.0f, detectionMat.at<float>(i, 4) * rows - params->borderWidth); in process() 305 …float xBottomRight = min((float)cols - 1, detectionMat.at<float>(i, 5) * cols + params->borderWidt… in process() 306 …float yBottomRight = min((float)rows - 1, detectionMat.at<float>(i, 6) * rows + params->borderWidt… in process()
|