Test fire and smoke
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user