summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHongmei Gou2019-09-19 17:40:26 -0500
committerHongmei Gou2019-09-19 17:40:26 -0500
commit5be60aee8d013907a4d8a6cc8af35a517a33b49e (patch)
tree6f748d6395e3be8269605e030599ee55b90c620a
parent79f4db254eeffff7e0479cf4daa38ea22a389e34 (diff)
parent5da10b5085286bdd86acd44c50e230f6a7e56a7c (diff)
downloadtiovx-app-5be60aee8d013907a4d8a6cc8af35a517a33b49e.tar.gz
tiovx-app-5be60aee8d013907a4d8a6cc8af35a517a33b49e.tar.xz
tiovx-app-5be60aee8d013907a4d8a6cc8af35a517a33b49e.zip
Merge pull request #5 in PROCESSOR-SDK/tiovx-app from PLSDK-2640 to masterHEADmaster
* commit '5da10b5085286bdd86acd44c50e230f6a7e56a7c': khronos_example: print out frame index along with the detection/tracking results
-rw-r--r--khronos_example/solution_exercise1.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/khronos_example/solution_exercise1.cpp b/khronos_example/solution_exercise1.cpp
index 429a841..05330bf 100644
--- a/khronos_example/solution_exercise1.cpp
+++ b/khronos_example/solution_exercise1.cpp
@@ -521,6 +521,12 @@ int main( int argc, char * argv[] )
521 sprintf( text, "Number of Corners: %d [tracking %d]", ( int )num_corners, ( int )num_tracking ); 521 sprintf( text, "Number of Corners: %d [tracking %d]", ( int )num_corners, ( int )num_tracking );
522 gui->DrawText( 0, 36, text ); 522 gui->DrawText( 0, 36, text );
523 gui->Show(); 523 gui->Show();
524
525 ////////
526 // Print the frame index along with the results to the console
527 printf("Frame %d, Number of Corners: %d [tracking %d] \n", frame_index, ( int )num_corners, ( int )num_tracking );
528 fflush(stdout);
529
524 if( !gui->Grab() ) 530 if( !gui->Grab() )
525 { 531 {
526 // Terminate the processing loop if the end of sequence is detected. 532 // Terminate the processing loop if the end of sequence is detected.