Parsing a specific Cyrillic code with Zxing gives a wrong result
See original GitHub issueDescription 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:
- Created 2 years ago
- Reactions:1
- Comments:17 (6 by maintainers)
Top GitHub Comments
@Psijic Did you fix it(херню)? Or did you use a different solution?
Maybe AI and neural nets will help us here in the future.