پاسخ داده شده: خواندن فایل ها با نام فایل unicode در OpenCV
def imreadU(filename,flag):
retu cv2.imdecode(np.fromfile(filename,dtype=np.uint8), flag)
def imwriteU(filename,image):
is_success, im_buf_arr = cv2.imencode(".jpg", image)
im_buf_arr.tofile(filename)
