From 57f5d58e1e9a67c30e46eaaa883f8924e418e311 Mon Sep 17 00:00:00 2001 From: Barzan Hayati Date: Tue, 12 Aug 2025 21:34:11 +0000 Subject: [PATCH] Fix uncompleted detected bodies --- src/nv_infer_server_manager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nv_infer_server_manager.cpp b/src/nv_infer_server_manager.cpp index 981810a..620daec 100644 --- a/src/nv_infer_server_manager.cpp +++ b/src/nv_infer_server_manager.cpp @@ -307,7 +307,7 @@ GstPadProbeReturn NvInferServerManager::pgie_pad_buffer_probe( uint detected_persons = 0; float *data = static_cast(layer.buffer); for (unsigned int jkl = 0; jkl < 100; - jkl += 4) { // 100 persons for each frame + jkl ++) { // 100 persons for each frame if (data[jkl * 57 + 4] > threshold_body_detection) { detected_persons++; // std::cout