the main file is barCodeCam.m
this is definitely not the most robust barcode reader, but seems to work on low resolution barcode photos, with some amount of distortion.
some sample photos are included. i have not yet implemented the image segmentation to crop the text and surroundings out of the barcode. so users need to crop the barcode and feed it to the code.
i am sorry the code is quite messy. there can be some redundancies and a more compact version is possible.
your feedback will help me improve it.
the barcode symbology used is EAN-13. the variable G gives the array of barcode without the symbology.
Indraneel Biswas (2022). barcode reader (https://www.mathworks.com/matlabcentral/fileexchange/31727-barcode-reader), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!