The paper deals with the possibilities of using Data Matrix codes in production engineering. We designed and tested the computationally efficient method for locating the Data Matrix code in the images. The location search procedure consists of identification of candidate regions using image binarization, then joining adjacent points into continuous regions and also examining outer boundaries of the regions. Afterwards we verify the presence of the Finder Pattern (as two perpendicular line segments) and Timing Pattern (as alternating sequence of black and white modules) in these candidate regions. Such procedure is invariant to shift rotation and scale change of Data Matrix codes. The method we have proposed has been verified on a set of real industrial images and compared to other commercial algorithms. We are also convinced that such technique is also suitable for real-time processing and has achieved better results than comparable commercial algorithms.
 Q. Huang, W.S. Chen, X.Y. Huang and Y.Y. Zhu. (2012, Jan.). “Data Matrix Code Location Based on Finder Pattern Detection and Bar Code Border Fitting”. Mathematical Problems in Engineering. [On-line]. Available: www.hindawi.com/journals/mpe/2012/515296 [Jun. 27, 2018].
 J.B. Burns, A.R. Hanson and E.M. Riseman. “Extracting straight lines”. IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. PAMI-8, no. 4, pp. 425-455, 1986.
 G.R. Gioi, J. Jakubowicz, J.M. Morel and G. Randall. “LSD: a fast line segment detector with a false detection control”. IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 32, no. 4, pp. 722-732, 2010.
 H. Donghong, T. Hui and C. Xinmeng. “Radon transformation applied in two dimensional barcode image recognition”. Journal of Wuhan University, vol. 5. pp. 584-588, 2005.
 Z. Chen-guang, Y. Na and H. Ru-kun. “Study of two dimensional barcode identification technology based on HOUGH transform”. Journal of Changchun Normal University, vol. 4, pp. 94-98, 2007.
 M. Hrčková and P. Koleda. “Identifikácia objektov v obraze na základe geometrických príznakov”. Acta Facultatis Technicae, vol. 19, no. 2, pp. 13-19, 2014.
 J. Waters. QR Codes For Dummies. London: For Dummies, 2012.
 K. Price. QR Codes Made EZ: A Complete Guide to Creating and Implementing QR Codes. North Charleston: CreateSpace, 2014.
 L. Karrach and E. Pivarčiová. “Data Matrix code location marked with laser on surface of metal tools”. Acta facultatis technicae, vol. 22, no. 2, pp. 29-38, 2017.
 L. Karrach and E. Pivarčiová. “The analyse of the various methods for location of Data Matrix codes in images”, in Proc. of ELEKTRO 2018, 2018, pp. 1-6.
 J.A. Lin and C.S. Fuh. “2D Barcode Image Decoding”. Mathematical Problems in Engineering, vol. 2013, pp. 1-10, 2013.
 P. Gaur and S. Tiwari. “Recognition of 2D Barcode Images Using Edge Detection and Morphological Operation”. International Journal of Computer Science and Mobile Computing, vol. 3, no. 4, pp. 1277-1282, 2014.
 S. Li, J. Shang, Z. Duan and J. Huang. “Fast detection method of quick response code based on run-length coding”. IET Image Processing, vol. 12, no. 4, pp. 546- 551, 2018.
 D.K. Hansen and K. Nasrollahi. “Real-Time Barcode Detection and Classification Using Deep Learning”, in Proc. of 9thInternational Joint Conference on Computational Intelligence, vol. 1, 2017, pp. 321-327.
 W. Biały. “The possibilities of production engineering in the development of smart specialisations illustrated with the example of the Silesian Voivodeship”. Management Systems in Production Engineering, vol. 24, no. 4, pp. 252-258, 2016.
 M. Laughton. “Open source software for reading and writing Data Matrix barcodes“, 2011, Internet: github.com/dmtx, [Apr. 12, 2018].
 P. Frankovský, D. Hroncová, I. Delyová and P. Hudák. „Inverse and forward dynamic analysis of two link manipulator“. Procedia Engineering, vol. 48, pp. 158- 163, 2012.
 P. Božek. “Robot path optimization for spot welding applications in automotive industry”. Tehnicki Vjesnik - Technical Gazette, vol. 20, no. 5, pp. 913- 917, 2013.
 M. More, O. Liska and J. Kovac. “Experimental verification of force feedback for rehabilitation robot”. International journal of engineering research in Africa, vol. 18, pp. 123-129, 2015.
 Y. Turygin, P. Božek, Y. Nikitin, E. Sosnovich and A. Abramov. “Enhancing the reliability of mobile robots control process via reverse validation”. International Journal of Advanced Robotic Systems, vol. 13, no. 6, pp. 1-8, 2016.