diff --git a/build/bytetrack-counter b/build/bytetrack-counter index 3c12841..be0f335 100755 Binary files a/build/bytetrack-counter and b/build/bytetrack-counter differ diff --git a/build/version.hpp b/build/version.hpp index b13b459..2268d43 100644 --- a/build/version.hpp +++ b/build/version.hpp @@ -4,11 +4,11 @@ namespace version { -const std::string GIT_COMMIT = "178797fb"; +const std::string GIT_COMMIT = "87277f75"; const std::string GIT_BRANCH = "main"; const std::string GIT_TAG = ""; const std::string BUILD_DATE = "2026-07-06"; -const std::string BUILD_TIME = "11:33:54"; +const std::string BUILD_TIME = "18:03:38"; const int BUILD_YEAR = 2026; const bool BUILD_RKNN = 1; diff --git a/src/main.cpp b/src/main.cpp index 3a1c499..802c996 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -166,6 +166,11 @@ int main(int argc, char* argv[]) { RKNNYOLO model(g_config.model_path, g_config.core_mask, g_config.imgsz, g_config.conf, 0.45f, g_config.num_classes, 0, g_config.score_sigmoid); + if (!model.is_loaded()) { + std::cerr << "ERROR: Failed to load model: " << g_config.model_path + << std::endl; + return 1; + } ByteTracker ayam_tracker(g_config.track_high_thresh_0, g_config.track_low_thresh_0, g_config.track_match_thresh_0, g_config.track_buffer_0,