Fix device selection and adb command safety

This commit is contained in:
Codex committed 2026-05-20 18:43:58 +08:00
1 parent 89128deb0f
commit e7a7d3f888
9 files changed
+454 -223

No files matched your search

+1 -1
View File
@@ -14,7 +14,7 @@ dependencies = {
'cv2': ('opencv-python', 'Computer Vision'),
'numpy': ('numpy', 'Numerical Computing'),
'paddleocr': ('paddleocr', 'OCR Recognition'),
'paddlepaddle': ('paddlepaddle', 'Deep Learning'),
'paddle': ('paddlepaddle', 'Deep Learning'),
'ttkbootstrap': ('ttkbootstrap', 'GUI Framework'),
'easyocr': ('easyocr', 'OCR Recognition (Optional)'),
}
+2 -2
View File
@@ -21,9 +21,9 @@ def main():
missing = []
try:
import paddlepaddle # type: ignore[import-untyped]
import paddle # type: ignore[import-untyped]
except ImportError:
missing.append("paddlepaddle>=2.5.0,<3.0.0")
missing.append("paddlepaddle>=3.0.0")
try:
import ttkbootstrap