From db426d26d85d74cc2873f138be64825bfbeebbec Mon Sep 17 00:00:00 2001 From: Gary Bradski Date: Thu, 2 Dec 2010 23:49:21 +0000 Subject: [PATCH] teek --- samples/c/blobtrack_sample.cpp | 45 +++++++++++++++++------------------------- 1 file changed, 18 insertions(+), 27 deletions(-) diff --git a/samples/c/blobtrack_sample.cpp b/samples/c/blobtrack_sample.cpp index f613bdb..34110cb 100644 --- a/samples/c/blobtrack_sample.cpp +++ b/samples/c/blobtrack_sample.cpp @@ -5,32 +5,6 @@ #include -void help() -{ - printf("\nExample of using background_segm.hpp and legacy blobtrack.hpp (somewhat out of date\n" - "This somewhat over complex program segments blobs and tracks them with a Kalman filter\n" - "Usage:\n" - ); - printf("blobtrack [fg=] [bd=]\n" - " [bt=] [btpp=]\n" - " [bta=\n" - " [bta_data=\n" - " [bt_corr=]\n" - " [btgen=]\n" - " [track=]\n" - " [scale=] [noise=] [IVar=]\n" - " [FGTrainFrames=]\n" - " [btavi=] [fgavi=]\n" - " \n"); - - printf("WHERE:\n is way of blob position corrrection for \"Blob Tracking\" module\n" - " =none,PostProcRes\n" - " is number of frames for FG training\n" - " is file name for save tracked trajectories\n" - " is file name for data base of trajectory analysis module\n" - " is file name of avi to process by BlobTrackerAuto\n"); -} - /* Select appropriate case insensitive string comparison function: */ #if defined WIN32 || defined _MSC_VER #define MY_STRNICMP strnicmp @@ -429,7 +403,24 @@ int main(int argc, char* argv[]) if(argc < 2) { /* Print help: */ int i; - help(); + printf("blobtrack [fg=] [bd=]\n" + " [bt=] [btpp=]\n" + " [bta=\n" + " [bta_data=\n" + " [bt_corr=]\n" + " [btgen=]\n" + " [track=]\n" + " [scale=] [noise=] [IVar=]\n" + " [FGTrainFrames=]\n" + " [btavi=] [fgavi=]\n" + " \n"); + + printf(" is the method of blob position correction for the \"Blob Tracking\" module\n" + " =none,PostProcRes\n" + " is number of frames for FG training\n" + " is file name for save tracked trajectories\n" + " is file name for data base of trajectory analysis module\n" + " is file name of avi to process by BlobTrackerAuto\n"); puts("\nModules:"); #define PR(_name,_m,_mt)\ -- 2.7.4