This is a project for recognizing static barcode pictures. It can accurately identify EAN-13 barcodes that are common in life. This project is implemented based on QT. You can run it just by opening the QT project file. Occasionally it will fail to run, which may be caused by the following conditions:

  1. OpenCV’s configuration file which in needs to be changed.

  2. The relative path where the image is opened may need to be changed, which is in the file mainwindow.cpp

  3. The problem of Qt version , OpenCV version or operating system.


  1. Operation System: macOS-11.5.2
  2. Development Platform: Qt-5.15.1 (Clang 11.0 (Apple), 64 bit)
  3. Machine Vision: OpenCV-4.5.3





If you want to know more about this code, you can click the detailed explanation of this code or contact me via the link above.?


View Github