# get image pixel count using opencv
imgCV = cv2.imread(file_name)
height, width, channel = imgCV.shape

height, width, channel = imgCV.shape
AttributeError: 'NoneType' object has no attribute 'shape'

となるんですが、なんでだろう?
前はこのコードで動いていたように思うのですが・・・