Azzera filtri
Azzera filtri

Need help in creating QR scanner app using MATLAB app designer

12 visualizzazioni (ultimi 30 giorni)
Hi!
I'm new to MatLab and I'm trying to create an app that reads barcodes or QR codes. What it does is basically read barcodes and QR codes using a webcam and display the output in a text area. The script worked when I used it on a command window.
Now I need to apply in on an app, the files are attached here. When I tried to run the app I get an error that says "Error using disp, too many output arguments". I have spent hours trying to find a solution but can't find any.
clc;
cam=webcam(1);
preview(cam);
while(1)
img=snapshot(cam);
msg=readBarcode(img);
disp(msg);
end
No webcams have been detected. Please ensure the webcam is connected to the system.

Risposte (0)

Categorie

Scopri di più su Interactive Control and Callbacks in Help Center e File Exchange

Prodotti


Release

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by