Commit d4ec359f authored by StevenPuttemans's avatar StevenPuttemans

Fixing errors

parent 03662c05
......@@ -282,7 +282,7 @@ void SimpleBlobDetector::detectImpl(const cv::Mat& image, std::vector<cv::KeyPoi
else
grayscaleImage = image;
if (grayscaleImage.type != CV_8UC1){
if (grayscaleImage.type() != CV_8UC1){
CV_Error(CV_StsUnsupportedFormat, "Blob detector only supports 8-bit images!");
}
vector < vector<Center> > centers;
......
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