Skip to content

Commit d29e6ba

Browse files
fix frame_id bug
1 parent add44e6 commit d29e6ba

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sort_cpp_demo

0 Bytes
Binary file not shown.

src/main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ int main(int argc, char **argv)
1414

1515
VideoCapture cap(0);
1616
int delay = 1;
17+
int frame_id = 0;
1718

1819
while (1)
1920
{
@@ -33,8 +34,7 @@ int main(int argc, char **argv)
3334
vector<BoundingBox> boxes;
3435
vector<TrackingBox> detFrameData;
3536

36-
int frame_id = 0;
37-
37+
3838
for (int i = 0; i < detectionMat.rows; i++)
3939
{
4040
float confidence = detectionMat.at<float>(i, 2);

0 commit comments

Comments
 (0)