How to find the location of barcode in an image

前端 未结 1 1634
梦如初夏
梦如初夏 2021-01-19 09:50

How can I find the location of barcode in an image?

Original Image

相关标签:
1条回答
  • 2021-01-19 10:20

    To find the location of barcode, normally differences of gradient method is taken. If we take contrast gradient across a barcode, we get high gradient in horizontal direction while low gradient in vertical direction. So where their difference (ie horizontal gradient-vertical gradient) is maximum, we take position of barcode.

    Please refer to these paper: Reading Barcodes

    Following links also deals with this : Link 1, Link 2

    0 讨论(0)
提交回复
热议问题