pycognaize.common.utils.img_to_black_and_white

img_to_black_and_white(img_array)[source]

Image to only black and white image

black pixel –> white pixel other pixel –> black pixel

Returns: