opencv_transforms icon indicating copy to clipboard operation
opencv_transforms copied to clipboard

Fix the gray image checking error

Open Larry-u opened this issue 4 years ago • 0 comments

The default dimension of a gray image read by opencv is 2, which means using img.shape[2] will raise index error.

Larry-u avatar Mar 13 '20 12:03 Larry-u