python_for_microscopists
python_for_microscopists copied to clipboard
264 - Image outlier detection using alibi-detect
Its me, again.
After: image = cv2.imread(image_directory + 'good/' + image_name)
And after: image = cv2.imread(image_directory + 'bad/' + image_name)
Add: image = cv2.cvtColor(image, cv2.COLOR_BGR2RGB)
Converting from opencv BGR, to pillow RGB, to show the real colors, of the images.
Thanks!