From 5adbee4be8c9c0423d468b2e1c2cafb82f20ec04 Mon Sep 17 00:00:00 2001 From: Tuan Nghia Nguyen Date: Mon, 6 Apr 2026 09:29:08 +1000 Subject: [PATCH] Rebuild for production --- .claude/settings.local.json | 24 ++++++++++++++++++- .../ANSCustomFireNSmoke.h | 2 +- .../ANSCustomCodeHelmetDetection.h | 2 +- tests/FireNSmokeDetection/main.cpp | 2 +- 4 files changed, 26 insertions(+), 4 deletions(-) diff --git a/.claude/settings.local.json b/.claude/settings.local.json index cda4626..d622bd8 100644 --- a/.claude/settings.local.json +++ b/.claude/settings.local.json @@ -28,7 +28,29 @@ "Bash(\"C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/dumpbin.exe\" //DEPENDENTS ANSODEngine.dll)", "Bash(\"C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/dumpbin.exe\" //EXPORTS ANSLicensingSystem.dll)", "Bash(\"C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/dumpbin.exe\" //IMPORTS ANSODEngine.dll)", - "Bash(\"C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/dumpbin.exe\" //IMPORTS ANSMOT.dll)" + "Bash(\"C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/dumpbin.exe\" //IMPORTS ANSMOT.dll)", + "Bash(\"C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/dumpbin.exe\" //IMPORTS ANSLIB.dll)", + "Bash(\"C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/dumpbin.exe\" //EXPORTS ANSMOT.dll)", + "Bash(for dll:*)", + "Bash(do echo:*)", + "Bash(\"C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/dumpbin.exe\" //IMPORTS \"$dll\")", + "Bash(done)", + "Bash(where ANSLicensingSystem.dll)", + "Read(//c/Windows/**)", + "Bash(find C:/Projects/CLionProjects/ANSCustomModels/cmake-build-release -name *.dll)", + "Bash(\"C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/dumpbin.exe\" //HEADERS ANSMOT.dll)", + "Bash(\"C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/dumpbin.exe\" //HEADERS ANSLicensingSystem.dll)", + "Bash(python -c \"import ctypes; h = ctypes.WinDLL\\(''./ANSMOT.dll''\\); print\\(''LOADED OK''\\)\")", + "Bash(\"C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/dumpbin.exe\" //DEPENDENTS ANSLIB.dll)", + "Bash(\"C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/dumpbin.exe\" //DEPENDENTS ANSCustomFireNSmokeDetection.dll)", + "Bash(\"C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/dumpbin.exe\" //DEPENDENTS ANSLibsLoader.dll)", + "Bash(ls -la \"C:/Projects/CLionProjects/ANSCustomModels/cmake-build-release/bin/\"*.dll)", + "Bash(\"C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/dumpbin.exe\" //DEPENDENTS FireNSmokeDetection_Demo.exe)", + "Bash(echo $PATH)", + "Bash(tr ';' '\\\\n')", + "Bash(ls -la \"C:/ProgramData/ANSCENTER/DLHUB_Runtime_Engine/\"*.dll)", + "Bash(cp \"C:/ProgramData/ANSCENTER/Shared/ANSLicensingSystem.dll\" \"C:/ProgramData/ANSCENTER/DLHUB_Runtime_Engine/ANSLicensingSystem.dll\")", + "Bash(cp \"C:/ProgramData/ANSCENTER/Shared/anslicensing.dll\" \"C:/ProgramData/ANSCENTER/DLHUB_Runtime_Engine/anslicensing.dll\")" ] } } diff --git a/ANSCustomFireNSmokeDetection/ANSCustomFireNSmoke.h b/ANSCustomFireNSmokeDetection/ANSCustomFireNSmoke.h index 14d475f..d301168 100644 --- a/ANSCustomFireNSmokeDetection/ANSCustomFireNSmoke.h +++ b/ANSCustomFireNSmokeDetection/ANSCustomFireNSmoke.h @@ -5,7 +5,7 @@ #define RETAINFRAMES 80 #define FILTERFRAMES 10 -#define FNS_DEBUG +//#define FNS_DEBUG class CUSTOM_API ANSCustomFS : public IANSCustomClass { typedef std::pair Range; diff --git a/ANSCustomHelmetDetection/ANSCustomCodeHelmetDetection.h b/ANSCustomHelmetDetection/ANSCustomCodeHelmetDetection.h index de19974..41f205c 100644 --- a/ANSCustomHelmetDetection/ANSCustomCodeHelmetDetection.h +++ b/ANSCustomHelmetDetection/ANSCustomCodeHelmetDetection.h @@ -1,6 +1,6 @@ #include "ANSLIB.h" -#define FNS_DEBUG +//#define FNS_DEBUG class CUSTOM_API ANSCustomHMD : public IANSCustomClass { private: diff --git a/tests/FireNSmokeDetection/main.cpp b/tests/FireNSmokeDetection/main.cpp index 0513094..6228488 100644 --- a/tests/FireNSmokeDetection/main.cpp +++ b/tests/FireNSmokeDetection/main.cpp @@ -7,7 +7,7 @@ #include "ANSCustomFireNSmoke.h" int FireNSmokeDetection() { - std::string modelDirectory = "C:\\Projects\\ANSVIS\\Models\\ANS_FireSmoke_v3.0"; + std::string modelDirectory = "C:\\Projects\\ANSVIS\\Models\\ANS_FireSmoke_v2.0"; std::string videoFilePath = "E:\\Programs\\DemoAssets\\Videos\\FireNSmoke\\ANSFireFull.mp4";// passed //std::string videoFilePath = "E:\\Programs\\DemoAssets\\Videos\\ANSVIS_Issues\\FGFire.mp4";// passed //std::string videoFilePath = "E:\\Programs\\DemoAssets\\Videos\\FireNSmoke\\HFire1.mp4"; // passed