Closed g3force closed 4 years ago
With #158 a image mask has been introduced for thresholding.
The thresholding is also used to extract the blobs from the standard robot pattern (which is an image), in which case a default mask is generated.
Unfortunately, the mask is generated all zero, instead of all one, so the standard robot pattern can not be read correctly.
This PR initializes the mask with ones instead. This fixed the issue for me.
Works for me, thank you.
With #158 a image mask has been introduced for thresholding.
The thresholding is also used to extract the blobs from the standard robot pattern (which is an image), in which case a default mask is generated.
Unfortunately, the mask is generated all zero, instead of all one, so the standard robot pattern can not be read correctly.
This PR initializes the mask with ones instead. This fixed the issue for me.