enhance image quality for read Barcode

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

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

thank you
But it didn't work
Maybe I should get a better webcam

Sign in to comment.

More Answers (1)

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!