Fix device selection and adb command safety
This commit is contained in:
1 parent
89128deb0f
commit
e7a7d3f888
9 files changed
+454
-223
No files matched your search
@@ -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)'),
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user