- Remove ALPR_OD Tracker and voting system.
- Disable debugview
This commit is contained in:
@@ -164,6 +164,12 @@ namespace ANSCENTER
|
||||
// Tri-state: -1 = auto-detect (default), 0 = explicitly disabled, 1 = explicitly enabled
|
||||
// _enableALPRChecker is inherited from ANSALPR base class
|
||||
|
||||
// Master switch for tracker + voting post-processing inside
|
||||
// RunInference / RunInferenceSingleFrame. When false, these methods
|
||||
// return raw per-frame OCR output (no alprChecker.checkPlateByTrackId
|
||||
// voting, no spatial ensureUniquePlateText dedup). Default: disabled.
|
||||
bool _enableTrackerVoting{ false };
|
||||
|
||||
struct ImageSizeTracker {
|
||||
cv::Size lastSize{0, 0};
|
||||
int consistentCount = 0;
|
||||
@@ -252,6 +258,9 @@ namespace ANSCENTER
|
||||
}
|
||||
|
||||
// SetALPRCheckerEnabled() and IsALPRCheckerEnabled() inherited from ANSALPR base class
|
||||
|
||||
void SetTrackerVotingEnabled(bool enable) { _enableTrackerVoting = enable; }
|
||||
[[nodiscard]] bool IsTrackerVotingEnabled() const { return _enableTrackerVoting; }
|
||||
};
|
||||
}
|
||||
#endif
|
||||
Reference in New Issue
Block a user