I’m new in Scilab and currently working on a project on barcode.
How can I locate barcode in an image of a product?
Is there any clue on what I can research on?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Divide image into NxM sub-images. Then folow either:
a) Make FFT on each sub-image and compare result with pre-computed 2D FFT of standard barcode image. (Because barcodes are pretty monotone and highly repetitive images they should generate similar FFT patterns)
b) Execute some thining (skeletonization) algorithm to leave only skeletons in images. Then do Radon or Hough transform on each skeleton sub-image and look for bunch of lines which has same deflection angle withing error bounds.
I personally would choose second way with pre-skeletonizing step because Radon/Hough transforms are especially designed for searching lines in images.