Barcode Detection using MATLAB | M-file
You can explore more about this in-built function from this documentation:
https://in.mathworks.com/help/vision/...
clc
clear all
close all
warning off
x=imread("Barcode2.JPG");
imshow(x);
msg=readBarcode(x);
if(msg~="")
disp(msg);
else
disp("Barcode not detected");
end
Join us on Facebook Group:
https://www.facebook.com/groups/matlabcodes
No comments