mirror of
https://github.com/dreammis/social-auto-upload.git
synced 2026-08-31 01:00:45 +08:00
bb1f12977a
cv2.imread cannot open files under non-ASCII (e.g. Chinese) paths on Windows, so decode_qrcode_from_path() always returned None when the project lived under a directory like D:\视频全平台同步\, and the terminal QR re-print silently failed. Use np.fromfile + cv2.imdecode instead, which handles arbitrary paths.