1
0
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:
berak
2019-12-31 10:11:20 +01:00
parent 4f524db434
commit 162647c023
2 changed files with 1 additions and 2 deletions

View File

@@ -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]
}