barcode reader
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.
Cite As
Indraneel Biswas (2025). barcode reader (https://www.mathworks.com/matlabcentral/fileexchange/31727-barcode-reader), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Image Processing and Computer Vision > Image Processing Toolbox > Image Segmentation and Analysis > Region and Image Properties >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |