Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv_contrib
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_contrib
Commits
d5b8115b
Commit
d5b8115b
authored
Jan 09, 2020
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2400 from berak:tutorial_customizing_cn_tracker
parents
91b39aa0
162647c0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
tutorial_customizing_cn_tracker.cpp
modules/tracking/samples/tutorial_customizing_cn_tracker.cpp
+0
-1
tutorial_customizing_cn_tracker.markdown
...acking/tutorials/tutorial_customizing_cn_tracker.markdown
+1
-1
No files found.
modules/tracking/samples/tutorial_customizing_cn_tracker.cpp
View file @
d5b8115b
...
...
@@ -123,7 +123,6 @@ void sobelExtractor(const Mat img, const Rect roi, Mat& feat){
//! [sobel]
//! [postprocess]
feat
.
convertTo
(
feat
,
CV_64F
);
feat
=
feat
/
255.0
-
0.5
;
// normalize to range -0.5 .. 0.5
//! [postprocess]
}
modules/tracking/tutorials/tutorial_customizing_cn_tracker.markdown
View file @
d5b8115b
...
...
@@ -68,6 +68,6 @@ If you need a more detailed information to use @ref cv::Tracker, please refer to
-#
**Post processing**
Make sure to
convert the feature into @ref cv::CV_64F data format and normalize its valu
e with range -0.5 to 0.5
Make sure to
normalize the featur
e with range -0.5 to 0.5
@snippet tracking/samples/tutorial_customizing_cn_tracker.cpp postprocess
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