Jan-04-2019, 04:27 AM
The GitHub for OpenCV has a closed ticket on this. The response was that the base image is likely not a three-channel image and has likely been saved as a single-channel. Other resolutions I've seen recommend a try...except block for it. Perhaps use a try...except with a grayscale to RGB constant instead.