RECOGNITION AND GENERATION OF QR/BAR CODES IN MOBILE APPLICATIONS

Abstract

The article is devoted to the analysis of methods of recognition and generation of QR/bar codes in mobile applications. The most common algorithms for detecting and generating codes are considered: Otsu method, Reed-Solomon codes, binary coding algorithm, Orazio Gallo and Roberto Manduchi approach. In this article, it is proposed to use an algorithm based on these approaches, which is refined and used for the software implementation of the mobile application. The main stages of the recognition process in the work are: converting a color image into gray shades (using the pixel hue difference method); gray image binarization (Otsu algorithm); using affine transformations to preserve parallelism, which includes rotation, stretching, shifting, scaling. The main stages of the generating process for QR codes are: processing and reduction to the standard form for QR codes; the process of generating a binary string (in the work data of only numerical and symbolic types was considered); counting the total number of characters in the source string and converting the decimal number to a binary representation; determining the length of the generated binary string according to the Denso Wave standard (the encoding of character types is different); determining the required length of the final binary string; auxiliary tokens are concatenated; generation of Reed-Solomon error correction codes. Three types of bar codes are considered: code 128, code 39, and EAN 13. The last type was used. A bar code scanner includes two steps for automatically scanning all bar codes: finding the location of the bar code, bar code decoding. To localize the image and the bar code that is captured by the system, the algorithm of Orazio Gallo and Roberto Manduchi is used. In order to obtain a smoothed map, a block filter of a certain size was used, taking into account the size of the input code image. In addition to the code localization, it is cut off: the intensity of each pixel is taken into account, and the lines of the bar code (pixels with an intensity greater than zero) are highlighted. An image with improved contrast is converted to binary form, and to convert to an ideal image, each image column is scanned and checked for the maximum number of pixels with an intensity of zero or one. This article focuses on describing the edge detection process. The decoding algorithm uses an array of code width bands. All the above approaches and algorithms based on them are implemented as a mobile application for recognition and generation of codes.

Authors and Affiliations

A. N. Nikonenko, L. I. Korotka

Keywords

Related Articles

Of predicting the size of individual populations in one same ecological zone

This paper describes the modeling of the changes in the dynamics of populations under the influence of various environmental factors. An attempt is made to predict the number of individual populations in terms of the une...

Application of the concept of uncertainty in the field of flow measurement

In this paper the problem of fluid flow measurement quality determination is studied. The purpose of any measurement is determination of the measured value, but an obtained value itself is not enough for making a decisio...

Анализ особенностей процесса винтовой прокатки труб с использованием информационных технологий

В данной работе приведены результаты исследования процесса винтовой прокатки труб с использованием деформационно-геометрической модели на основе бло- чных алгоритмов. Алгоритмы математической модели в виде блочной структ...

The calculating the characteristics of vapor-liquid feed at the mobile control of rectification processes

The paper presents mathematical and algorithmic bases for calculating the static characteristics of the multicomponent rectification process, taking into account the mobile control actions of different intensity. Since m...

Механізми групування та декомпозиції мережевих графів для підтримки експериментальних досліджень підсистем управління бізнес-процесами

Ефективне управління організаційними і технологічними процесами підприємств і організацій потребує виконання попереднього моделювання внутрішніх бізнес-процесів для визначення особливості бізнес-процесів на всьому протяз...

Download PDF file
  • EP ID EP642564
  • DOI 10.32434/2521-6406-2019-5-1-36-42
  • Views 132
  • Downloads 0

How To Cite

A. N. Nikonenko, L. I. Korotka (2019). RECOGNITION AND GENERATION OF QR/BAR CODES IN MOBILE APPLICATIONS. Комп’ютерне моделювання: аналіз, управління, оптимізація, 1(1), 36-42. https://europub.co.uk/articles/-A-642564