Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
4db4569b
Commit
4db4569b
authored
Dec 01, 2010
by
Gary Bradski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
put doc comments on top
parent
a474974b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
18 deletions
+27
-18
blobtrack_sample.cpp
samples/c/blobtrack_sample.cpp
+27
-18
No files found.
samples/c/blobtrack_sample.cpp
View file @
4db4569b
...
...
@@ -5,6 +5,32 @@
#include <stdio.h>
void
help
()
{
printf
(
"
\n
Example 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=<fg_name>] [bd=<bd_name>]
\n
"
" [bt=<bt_name>] [btpp=<btpp_name>]
\n
"
" [bta=<bta_name>
\n
"
" [bta_data=<bta_data_name>
\n
"
" [bt_corr=<bt_corr_way>]
\n
"
" [btgen=<btgen_name>]
\n
"
" [track=<track_file_name>]
\n
"
" [scale=<scale val>] [noise=<noise_name>] [IVar=<IVar_name>]
\n
"
" [FGTrainFrames=<FGTrainFrames>]
\n
"
" [btavi=<avi output>] [fgavi=<avi output on FG>]
\n
"
" <avi_file>
\n
"
);
printf
(
"WHERE:
\n
<bt_corr_way> is way of blob position corrrection for
\"
Blob Tracking
\"
module
\n
"
" <bt_corr_way>=none,PostProcRes
\n
"
" <FGTrainFrames> is number of frames for FG training
\n
"
" <track_file_name> is file name for save tracked trajectories
\n
"
" <bta_data> is file name for data base of trajectory analysis module
\n
"
" <avi_file> 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
...
...
@@ -403,24 +429,7 @@ int main(int argc, char* argv[])
if
(
argc
<
2
)
{
/* Print help: */
int
i
;
printf
(
"blobtrack [fg=<fg_name>] [bd=<bd_name>]
\n
"
" [bt=<bt_name>] [btpp=<btpp_name>]
\n
"
" [bta=<bta_name>
\n
"
" [bta_data=<bta_data_name>
\n
"
" [bt_corr=<bt_corr_way>]
\n
"
" [btgen=<btgen_name>]
\n
"
" [track=<track_file_name>]
\n
"
" [scale=<scale val>] [noise=<noise_name>] [IVar=<IVar_name>]
\n
"
" [FGTrainFrames=<FGTrainFrames>]
\n
"
" [btavi=<avi output>] [fgavi=<avi output on FG>]
\n
"
" <avi_file>
\n
"
);
printf
(
" <bt_corr_way> is way of blob position corrrection for
\"
Blob Tracking
\"
module
\n
"
" <bt_corr_way>=none,PostProcRes
\n
"
" <FGTrainFrames> is number of frames for FG training
\n
"
" <track_file_name> is file name for save tracked trajectories
\n
"
" <bta_data> is file name for data base of trajectory analysis module
\n
"
" <avi_file> is file name of avi to process by BlobTrackerAuto
\n
"
);
help
();
puts
(
"
\n
Modules:"
);
#define PR(_name,_m,_mt)\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment