disable ALPR checker by default
This commit is contained in:
@@ -1041,8 +1041,9 @@ namespace ANSCENTER {
|
||||
// voting and ensureUniquePlateText dedup in all Inference/RunInference paths.
|
||||
if (!_enableTrackerVoting) return false;
|
||||
|
||||
// Force disabled → never use
|
||||
if (!_enableALPRChecker) return false;
|
||||
// Force disabled → never use. Relaxed load is fine: tear-free read of a
|
||||
// single bool is all we need; "next frame sees the new value" is the contract.
|
||||
if (!_enableALPRChecker.load(std::memory_order_relaxed)) return false;
|
||||
|
||||
// Small images are always pipeline crops — skip auto-detection
|
||||
if (imageSize.width < ImageSizeTracker::MIN_FULLFRAME_WIDTH) return false;
|
||||
|
||||
Reference in New Issue
Block a user