jdhao's digital space

Recent content on jdhao's digital space

马上订阅 jdhao's digital space RSS 更新: https://jdhao.github.io/index.xml

How to Read and Write Images with Unicode Paths in OpenCV

2019年9月11日 00:23

The other day, when I was using OpenCV to read some images and print the image shape, I got an error:

‘NoneType’ object has no attribute ‘shape’.

I was confused and do not know why since the image path is valid. It tooks me a while to understand the cause.