Test fire and smoke

This commit is contained in:
2026-05-28 16:03:16 +10:00
parent ffcf5fc873
commit e70acb463e
5 changed files with 287 additions and 107 deletions
+4 -1
View File
@@ -32,6 +32,7 @@ int FireNSmokeDetection() {
//std::string videoFilePath = "C:\\Programs\\FireTest\\HFire2.mp4"; // failed as camera is moving
//std::string videoFilePath = "C:\\Programs\\DemoAssets\\Videos\\FireNSmoke\\E112 v4-2.mp4"; // failed white smoke low resolution cam
std::cout << "\n*** Start ***" << std::endl;
std::vector<std::string> classes;
ANSCustomFS detector;
std::string labelMap;
@@ -123,5 +124,7 @@ int FireNSmokeDetection() {
}
int main() {
return FireNSmokeDetection();
std::cout << "\n*** FireNSmokeDetection ***" << std::endl;
FireNSmokeDetection();
return 0;
}