Document that block_size
must be an odd integer
#1426
Labels
new feature
New feature ideas and solutions
Projects
Is your feature request related to a problem? Please describe.
The updated
pcv.transform.detect_color_card
function has kwargs that includeblock_size
. An even number for block_size will throw a long and strange cv2 error, see below, so best there's mention in the documentation page transform_detect_color_card.md that block_size must be an odd integer.Describe the solution you'd like
mention in the documentation page transform_detect_color_card.md that block_size must be an odd integer
Describe alternatives you've considered
add logic to the
pcv.transform.detect_color_card
function that checks this and throws a pcv error message rather than getting to the cv2 part.Additional context
The text was updated successfully, but these errors were encountered: