You've already forked MicroPythonOS
mirror of
https://github.com/m5stack/MicroPythonOS.git
synced 2026-05-20 11:51:27 -07:00
Camera: use 640x640 for QR decoding instead of 960x960
Otherwise the frame rate is pretty low, and the touch screen too laggy.
This commit is contained in:
@@ -67,8 +67,8 @@ class CameraSettingsActivity(Activity):
|
||||
|
||||
# Scanqr mode specific defaults
|
||||
SCANQR_DEFAULTS = {
|
||||
"resolution_width": 960,
|
||||
"resolution_height": 960,
|
||||
"resolution_width": 640,
|
||||
"resolution_height": 640,
|
||||
"colormode": False,
|
||||
"ae_level": 2, # Higher auto-exposure compensation
|
||||
"raw_gma": False, # Disable raw gamma for better contrast
|
||||
|
||||
Reference in New Issue
Block a user