Increase default threshold value for image pattern matching

The previous default value could cause a lot of false positive
detections and thus cause confusion if the image detection is working
correctly or not.
This commit is contained in:
WarmUpTill
2024-07-31 20:09:23 +02:00
committed by WarmUpTill
parent 240c47975c
commit d80df57ef8

View File

@@ -60,7 +60,7 @@ public:
bool useForChangedCheck = false;
bool useAlphaAsMask = false;
cv::TemplateMatchModes matchMode = cv::TM_CCORR_NORMED;
NumberVariable<double> threshold = 0.8;
NumberVariable<double> threshold = 0.999;
};
class ObjDetectParameters {