enhance image quality for read Barcode

3 views (last 30 days)
i want use readbarcode function but i cant find any barcode Because of the low quality of the photo
Invalid expression. Check for missing multiplication operator, missing or unbalanced delimiters, or other syntax error. To construct matrices, use brackets instead of parentheses.

Error in connector.internal.fevalMatlab

Error in connector.internal.fevalJSON

Accepted Answer

Benjamin Thompson
Benjamin Thompson on 1 Aug 2022
Can you get a better photo? Can you read the barcode manually from this photo?
You can use improfile to get something like this and decide if further processing is feasible, or think about what types of filtering might clean up the signal
.
  1 Comment
Amir Azadeh Ranjbar
Amir Azadeh Ranjbar on 4 Aug 2022
thank you
But it didn't work
Maybe I should get a better webcam

Sign in to comment.

More Answers (1)

Benjamin Thompson
Benjamin Thompson on 4 Aug 2022
If your camera has autofocus, the reflection off the table below may be confusing it. Place something nonreflective with no high contrast features (like a blank sheet of paper) on the table underneath the barcode.

Community Treasure Hunt

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

Start Hunting!

Translated by