feat(v1): chinese screenshot labels via Pillow with ASCII fallback
annotate_frame draws Chinese labels (e.g. '确认摔倒 P-0001') using a CJK font via Pillow when available (Windows uses Microsoft YaHei), and falls back to the ASCII cv2 label when Pillow or a CJK font is missing. 86 tests pass. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -2,4 +2,5 @@ numpy==1.24.4
|
||||
opencv-python==4.6.0.66
|
||||
ultralytics==8.3.205
|
||||
PyQt5==5.15.9
|
||||
Pillow==9.5.0
|
||||
pytest==8.3.5
|
||||
|
||||
Reference in New Issue
Block a user