You've already forked MicroPythonOS
mirror of
https://github.com/m5stack/MicroPythonOS.git
synced 2026-05-20 11:51:27 -07:00
decode QR as RGB565
This commit is contained in:
@@ -43,7 +43,7 @@ def qrdecode_live():
|
||||
while keepgoing and keepliveqrdecoding:
|
||||
try:
|
||||
import qrdecode
|
||||
result = qrdecode.qrdecode(current_cam_buffer, width, height)
|
||||
result = qrdecode.qrdecode_rgb565(current_cam_buffer, width, height)
|
||||
result = remove_bom(result)
|
||||
result = print_qr_buffer(result)
|
||||
print(f"QR decoding found: {result}")
|
||||
|
||||
Reference in New Issue
Block a user