And for python for the "anchor" variable it calls a point from the openCV documentation.
anchor: anchor point; default value Point(-1,-1) means that the anchor is at the kernel center.
My python code snippet
blurImage = cv.blur(self.image, kSize, Point(-1,-1), cv.BORDER_DEFAULT)
The code doesn't work. (-1,-1) doesn't work. cv.Point, np.Point either.
The blur function from the docs:
void cv::blur | ( | InputArray | src,
OutputArray | dst, | | Size | ksize, | | Point | anchor = Point(-1,-1), | | int | borderType = BORDER_DEFAULT | )
And for python for the "anchor" variable it calls a point from the openCV documentation. anchor: anchor point; default value Point(-1,-1) means that the anchor is at the kernel center.
My python code snippet blurImage = cv.blur(self.image, kSize, Point(-1,-1), cv.BORDER_DEFAULT)
The code doesn't work. (-1,-1) doesn't work. cv.Point, np.Point either.
How do write that statement wrt (-1,-1)?
Thank you, Dave