question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Parsing a specific Cyrillic code with Zxing gives a wrong result

See original GitHub issue

Description of the problem:

Parsing a specific code with zxing (also checked the same problem with BoofCV) gives a wrong result in the text: ST00011|Name=ÎÎÎ "Ãàçïðîì ìåæðåãèîíãàç Âëàäèìèð"|PersonalAcc=40702810710020102692|BankName=������������ ��������� N8611 ÏÀÎ Ñáåðáàíê|BIC=041708602|CorrespAcc=30101810000000000602|PayeeINN=3328415442|KPP=775050001|PersAcc=04067759|LastName=ハタミタツタナツタ|FirstName=ナヒナヘタ|MiddleName=ヘネハホヒタナツヘタ|PayerAddress=602254, ÌÓÐÎÌ, Ã, ÄÇÅÐÆÈÍÑÊÎÃÎ, ÓË, ä.10, êâ.10|PaymPeriod=0120|Sum=14212

There are 3 encoding types and one is completely inconvertible: BankName=������������ ��������� While the default Google Vision library gives a result with affordable parameters: ST00011|Name=ÎÎÎ "Ãàçïðîì ìåæðåãèîíãàç Âëàäèìèð"|PersonalAcc=40702810710020102692|BankName=Âëàäèìèðñêîå îòäåëåíèå N8611 ÏÀÎ Ñáåðáàíê|BIC=041708602|CorrespAcc=30101810000000000602|PayeeINN=3328415442|KPP=775050001|PersAcc=04067759|LastName=ÊÀÐÀÂÀÅÂÀ|FirstName=ÅËÅÍÀ|MiddleName=ÍÈÊÎËÀÅÂÍÀ|PayerAddress=602254, ÌÓÐÎÌ, Ã, ÄÇÅÐÆÈÍÑÊÎÃÎ, ÓË, ä.10, êâ.10|PaymPeriod=0120|Sum=14212 This result is also available in web sites like https://decodeit.ru/qr

Which library version are you using? com.journeyapps:zxing-android-embedded:4.1.0 com.google.zxing:core:3.3.0 / 3.4.0

Which phone/tablet are you using, and which Android version does it run?

Many Android phones (Samsung Galaxy A71)

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:17 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
MrChurilovcommented, May 25, 2021

@Psijic Did you fix it(херню)? Or did you use a different solution?

0reactions
Psijiccommented, May 25, 2021

Maybe AI and neural nets will help us here in the future.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unicode Encoding and decoding issues in QRCode
Most QR decoders use heuristics to automatically detect character encoding even if it is specified explicitly inside the QR code via the ECI...
Read more >
Webcam Barcode Reader using ZXing. - AutoIt Example Scripts
I was trying to find a good way to read barcodes, but there were not many I could find without going through the...
Read more >
QR Code Encoder and Decoder C# Class Library for VS 2022 ...
QR Code libraries to allow program to create QR Code image or read image containing one or more QR Codes. ... The result...
Read more >
QR Code and 2D Code Generator - Kerem Erkan
This page is an online two dimensional code generator. It can generate QR Code, Data Matrix, Aztec Code and Micro QR Code.
Read more >
C-Index (BlackBerry JDE 7.0.0 API Reference)
RadioInfo: Calculate the Cellular network ID value given the MCC and MNC in decimal ... Create a new exception with a Certificate and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found