Skip to content

Commit 6ad5631

Browse files
Camera: use 640x640 for QR decoding instead of 960x960
Otherwise the frame rate is pretty low, and the touch screen too laggy.
1 parent 0cbed06 commit 6ad5631

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

internal_filesystem/lib/mpos/ui/camera_settings.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ class CameraSettingsActivity(Activity):
6767

6868
# Scanqr mode specific defaults
6969
SCANQR_DEFAULTS = {
70-
"resolution_width": 960,
71-
"resolution_height": 960,
70+
"resolution_width": 640,
71+
"resolution_height": 640,
7272
"colormode": False,
7373
"ae_level": 2, # Higher auto-exposure compensation
7474
"raw_gma": False, # Disable raw gamma for better contrast

0 commit comments

Comments
 (0)