opencv_transforms
opencv_transforms copied to clipboard
Fix the gray image checking error
The default dimension of a gray image read by opencv is 2, which means using img.shape[2] will raise index error.