mirror of
https://github.com/opencv/opencv_contrib.git
synced 2025-10-22 16:08:41 +08:00
remove CV_64F conversion in tracking sample
This commit is contained in:
@@ -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]
|
||||
}
|
||||
|
Reference in New Issue
Block a user