mirror of
https://github.com/opencv/opencv.git
synced 2025-01-18 22:44:02 +08:00
Merge pull request #20919 from berak:patch-1
This commit is contained in:
commit
aa11cc19e8
@ -1728,7 +1728,6 @@ static void HoughCircles( InputArray _image, OutputArray _circles,
|
||||
}
|
||||
|
||||
CV_Assert(!_image.empty() && _image.type() == CV_8UC1 && (_image.isMat() || _image.isUMat()));
|
||||
CV_Assert(_circles.isMat() || _circles.isVector());
|
||||
|
||||
if( dp <= 0 || minDist <= 0 || param1 <= 0 || param2 <= 0)
|
||||
CV_Error( Error::StsOutOfRange, "dp, min_dist, canny_threshold and acc_threshold must be all positive numbers" );
|
||||
|
Loading…
Reference in New Issue
Block a user