Ask Your Question

2D Aztec Barcode localization

asked 2013-09-19 05:38:35 -0600

ashwath gravatar image

updated 2020-10-21 07:54:48 -0600

Hi All,

I have a image of size 512 x 512.In that image, in one corner i have a aztec barcode symbol of size (50 x 50).I want to just extract the aztec barcode symbol. This is called localization.Please let me know if it is possible to do a 2D Aztec Barcode localization using OPENCV. Please help.

Thanking you, Regards, ashwath.

edit retag flag offensive close merge delete


Please, more information is required if you want a decent answer. What is your application? Do you know the barcode in front or not? Do you actually want to use OpenCV to decode the barcode? ... Put some effort in questions...

StevenPuttemans gravatar imageStevenPuttemans ( 2013-09-19 06:01:31 -0600 )edit

Hi Steven,

I am sorry i did not give full details.My problem is that i have a aztec barcode symbol in some location in an image.I have to detect the barcode present is aztec barcode and segment it.

If there is an opencv code for this please share it.Atleast i will get an idea about how to go about my work.

Thanking you in advance,

Regards, ashwath.

ashwath gravatar imageashwath ( 2013-09-24 09:05:19 -0600 )edit

1 answer

Sort by » oldest newest most voted

answered 2013-09-19 07:03:36 -0600

Geppertm gravatar image


Yes it is possible. I´m doing it with Data Matrix Codes. I´m creating regions using a threshold. Then i´m checking the anisometry and the size of the regions. The decoding is done by zxing.


edit flag offensive delete link more


Hi , Thanks for your reply.Can you give more details about this.Is it possible to share the OPENCV code? Please help.

Thanking you, Regards, ashwath

ashwath gravatar imageashwath ( 2013-09-19 07:14:38 -0600 )edit

You should rather answer StevenPuttemans questions. Your initial question is lacking information. One important information is if you actually have an input picture of the barcode or not. The approach to solving your issue would be quite different.

Moster gravatar imageMoster ( 2013-09-19 08:54:57 -0600 )edit

so just imagine if it is insert a barcode picture( ,then how to do ? btw,can you offer the data matrix barcode codes?

cindy313 gravatar imagecindy313 ( 2014-04-24 22:16:18 -0600 )edit

Question Tools


Asked: 2013-09-19 05:38:35 -0600

Seen: 1,573 times

Last updated: Sep 19 '13