Commit c94974cc authored by Maria Dimashova's avatar Maria Dimashova

fixed mser (angle is -1 now)

parent 2bd86e25
......@@ -1296,7 +1296,7 @@ void MserFeatureDetector::detectImpl( const Mat& image, vector<KeyPoint>& keypoi
float diam = sqrt(rect.size.height*rect.size.width);
if( diam > std::numeric_limits<float>::epsilon() && r.contains(rect.center) )
keypoints.push_back( KeyPoint( rect.center, diam, rect.angle) );
keypoints.push_back( KeyPoint(rect.center, diam) );
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment