Test ALPR model (v1.3)

This commit is contained in:
2026-05-03 07:16:32 +10:00
parent cff2a90fad
commit 4214507e3b
+4 -4
View File
@@ -570,8 +570,8 @@ int ANSLPR_OD_FolderInferences_Test() {
boost::property_tree::ptree pt;
ANSCENTER::ANSALPR* infHandle = nullptr;
std::string licenseKey = "";
std::string modelZipFile = "C:\\ProgramData\\ANSCENTER\\ANSVIS Server\\ANSALPR\\ServerOptimised\\ANS_ALPR_v1.2_NVIDIAGeForceRTX4070LaptopGPU.zip";
std::string folderPath = "E:\\Programs\\DemoAssets\\ImageSeries\\ALPR character M\\EventDebug_20260419_151653.296";
std::string modelZipFile ="C:\\ProgramData\\ANSCENTER\\ANSVIS Server\\ANSALPR\\ServerOptimised\\ANS_ALPR_v1.2_NVIDIAGeForceRTX4070LaptopGPU.zip";//"C:\\Projects\\ANSVIS\\Models\\ANS_ALPR_v1.3.zip";//"
std::string folderPath = "E:\\Programs\\DemoAssets\\ImageSeries\\ALPR character M\\EventDebug_20260419_162612.661";
int engineType = 1;
double detectionThreshold = 0.3;
@@ -5187,7 +5187,7 @@ int main()
// (ServerOptimised\ANS_ALPR_v1.2_NVIDIAGeForceRTX4070LaptopGPU.zip) that
// doesn't exist on AMD/Intel machines. Re-enable after fixing the path
// at line 573 if you need the OD folder test.
//ANSLPR_OD_FolderInferences_Test();
ANSLPR_OD_FolderInferences_Test();
//ANSLPR_OD_VideoTest();
//ANSLPR_BigSize_VideoTest();
//ANSLPR_CPU_VideoTest();
@@ -5203,7 +5203,7 @@ int main()
//ALPR_OCR_Test();
//ALPR_OCR_VideoTest();
//ALPR_OCR_FolderInferences_Test();
ALPR_Helmet_Parallel_VideoTest(); // ANSVIS sim: ALPR + Helmet on same FilePlayer
//ALPR_Helmet_Parallel_VideoTest(); // ANSVIS sim: ALPR + Helmet on same FilePlayer
return 0;
}