diff --git a/build/bytetrack-counter b/build/bytetrack-counter index 77f70e4..64167bc 100755 Binary files a/build/bytetrack-counter and b/build/bytetrack-counter differ diff --git a/build/version.hpp b/build/version.hpp index 67b7720..28d4ab3 100644 --- a/build/version.hpp +++ b/build/version.hpp @@ -4,11 +4,11 @@ namespace version { -const std::string GIT_COMMIT = "60a02f42"; +const std::string GIT_COMMIT = "b73e54b3"; const std::string GIT_BRANCH = "main"; const std::string GIT_TAG = ""; const std::string BUILD_DATE = "2026-07-07"; -const std::string BUILD_TIME = "15:57:21"; +const std::string BUILD_TIME = "16:32:45"; const int BUILD_YEAR = 2026; const bool BUILD_RKNN = 1; diff --git a/src/main.cpp b/src/main.cpp index b2dadfd..cc190f1 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -410,6 +410,7 @@ int main(int argc, char* argv[]) { ayam_line_crossed.find(tid) == ayam_line_crossed.end()) { ayam_line_crossed.insert(tid); auto [count, started_new] = store.record_ayam_crossing(tid); + std::cout << store.current_batch_number() << " | " << count << std::endl; if (cross_logger) { std::ostringstream frame_str, tid_str; frame_str << frame_idx; @@ -527,13 +528,6 @@ int main(int argc, char* argv[]) { } frame_idx++; - if (frame_idx % g_config.flush_every_n_frames == 0) { - std::cout << "[" << now_str() << "] Frame " << frame_idx - << " | Batch " << (batch_num ? std::to_string(batch_num) : "-") - << ": " << (batch_num ? std::to_string(batch_count) : "-") - << " | Total: " << display_total - << " | Uptime " << (elapsed_sec / 3600.0) << "h" << std::endl; - } prune_stale_tracks(ayam_tracked, g_config.tracked_prune_sec); prune_stale_tracks(talenan_tracked, g_config.tracked_prune_sec);