You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: internal_filesystem/apps/com.micropythonos.camera/assets/camera_app.py
+10-9Lines changed: 10 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -21,9 +21,9 @@ class CameraApp(Activity):
21
21
button_width=75
22
22
button_height=50
23
23
24
-
status_label_text="No camera found."
25
-
status_label_text_searching="Searching QR codes...\n\nHold still and try varying scan distance (10-25cm) and make the QR code big (4-12cm). Ensure proper lighting."
26
-
status_label_text_found="Found QR, trying to decode... hold still..."
24
+
STATUS_NO_CAMERA="No camera found."
25
+
STATUS_SEARCHING_QR="Searching QR codes...\n\nHold still and try varying scan distance (10-25cm) and make the QR code big (4-12cm). Ensure proper lighting."
26
+
STATUS_FOUND_QR="Found QR, trying to decode... hold still..."
27
27
28
28
cam=None
29
29
current_cam_buffer=None# Holds the current memoryview to prevent garba
0 commit comments