Unify country and ocr mode on both ANSOCR and ANSALPR

This commit is contained in:
2026-03-30 15:21:32 +11:00
parent 08fb2e9adf
commit dd2009d87a
8 changed files with 55 additions and 53 deletions

View File

@@ -132,6 +132,15 @@ namespace ANSCENTER
AMD_GPU = 3,
AUTO_DETECT = 99 // default: hardware auto-detection
};
enum Country {
VIETNAM = 0,
CHINA = 1,
AUSTRALIA = 2,
USA = 3,
INDONESIA = 4,
JAPAN = 5
};
enum DetectionType {
CLASSIFICATION = 0,
DETECTION = 1,