Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ECC failure and Format data ECC failure issues from QR images captured from WiFi Camera #92

Open
lakshminarayanagurram opened this issue Nov 4, 2020 · 2 comments

Comments

@lakshminarayanagurram
Copy link

Iam using the quirctest application to decode the QR codes coming in snapshot images from a wifi camera. Iam using a image resolution of 1920 x 1080. Iam running the application on a X86_64 machine. Application seems to detect the presence of QR code in the image but unable to decode it.

quirc test program
Copyright (C) 2010-2012 Daniel Beer <[email protected]>
Library version: 1.0

                                          Time (ms)       Count
  Filename                         Load    ID Total    ID   Dec
-------------------------------------------------------------------------------
/media/narayana/Hari/images:
  0.jpeg                        :    36    10    46     0     0
  1.jpeg                        :    15     9    24     0     0
  2.jpeg                        :    15     9    24     0     0
  3.jpeg                        :    15     9    24     0     0
  4.jpeg                        :    15    12    27     0     0
  5.jpeg                        :    16    10    26     0     0
  6.jpeg                        :    18    11    29     0     0
QR code decode failed due to ECC failure
  7.jpeg                        :    15    15    30     1     0
  8.jpeg                        :    16    11    27     0     0
  9.jpeg                        :    16    11    27     0     0
  10.jpeg                       :    16    11    27     0     0
  11.jpeg                       :    16    11    27     0     0
  12.jpeg                       :    15    10    25     0     0
  13.jpeg                       :    22    10    32     0     0
  14.jpeg                       :    15    11    26     0     0
  15.jpeg                       :    16    11    27     0     0
  16.jpeg                       :    18    12    30     0     0
  17.jpeg                       :    16    11    27     0     0
  18.jpeg                       :    13    11    24     0     0
  19.jpeg                       :    16    13    29     0     0
QR code decode failed due to Format data ECC failure
  20.jpeg                       :    17    22    39     1     0
QR code decode failed due to Format data ECC failure
  21.jpeg                       :    20    14    34     1     0
QR code decode failed due to Format data ECC failure
  22.jpeg                       :    20    14    34     1     0
QR code decode failed due to ECC failure
  23.jpeg                       :    21    16    37     1     0
QR code decode failed due to Format data ECC failure
  24.jpeg                       :    22    18    40     1     0
QR code decode failed due to Format data ECC failure
  25.jpeg                       :    22    21    43     1     0
QR code decode failed due to Format data ECC failure
  26.jpeg                       :    23    24    48     1     0
QR code decode failed due to Format data ECC failure
  27.jpeg                       :    19    23    42     1     0
QR code decode failed due to Format data ECC failure
  28.jpeg                       :    22    21    43     1     0
QR code decode failed due to Format data ECC failure
  29.jpeg                       :    20    14    34     1     0
QR code decode failed due to Format data ECC failure
  30.jpeg                       :    18    18    36     1     0
  31.jpeg                       :    20    18    38     0     0
  32.jpeg                       :    27    12    39     0     0
QR code decode failed due to ECC failure
  33.jpeg                       :    18    14    32     1     0
QR code decode failed due to Format data ECC failure
  34.jpeg                       :    17    14    31     1     0
  35.jpeg                       :    19    11    30     0     0
QR code decode failed due to Format data ECC failure
  36.jpeg                       :    17    14    31     1     0
QR code decode failed due to ECC failure
  37.jpeg                       :    17    14    31     1     0
QR code decode failed due to Format data ECC failure
  38.jpeg                       :    25    14    39     1     0
QR code decode failed due to Format data ECC failure
  39.jpeg                       :    23    14    37     1     0
QR code decode failed due to Format data ECC failure
  40.jpeg                       :    22    13    35     1     0
QR code decode failed due to ECC failure
  41.jpeg                       :    23    16    40     1     0
QR code decode failed due to ECC failure
  42.jpeg                       :    17    15    32     1     0
QR code decode failed due to ECC failure
  43.jpeg                       :    18    14    32     1     0
QR code decode failed due to ECC failure
  44.jpeg                       :    18    14    33     1     0
QR code decode failed due to ECC failure
  45.jpeg                       :    16    15    31     1     0
QR code decode failed due to ECC failure
  46.jpeg                       :    18    14    32     1     0
QR code decode failed due to ECC failure
  47.jpeg                       :    17    15    32     1     0
QR code decode failed due to Format data ECC failure
  48.jpeg                       :    17    15    32     1     0
QR code decode failed due to ECC failure
  49.jpeg                       :    17    14    31     1     0
QR code decode failed due to ECC failure
  50.jpeg                       :    17    14    32     1     0
QR code decode failed due to Format data ECC failure
  51.jpeg                       :    17    14    32     1     0
QR code decode failed due to Format data ECC failure
  52.jpeg                       :    17    14    32     1     0
QR code decode failed due to ECC failure
  53.jpeg                       :    17    15    32     1     0
QR code decode failed due to ECC failure
  54.jpeg                       :    18    15    33     1     0
QR code decode failed due to Format data ECC failure
  55.jpeg                       :    17    15    32     1     0
  56.jpeg                       :    18    12    30     0     0
  57.jpeg                       :    17    12    29     0     0
  58.jpeg                       :    18    12    30     0     0
QR code decode failed due to Format data ECC failure
  59.jpeg                       :    17    16    33     1     0
  60.jpeg                       :    18    13    31     0     0
  61.jpeg                       :    17    12    29     0     0
QR code decode failed due to Format data ECC failure
  62.jpeg                       :    18    15    33     1     0
  63.jpeg                       :    18    13    31     0     0
  64.jpeg                       :    18    13    31     0     0
  65.jpeg                       :    16    12    28     0     0
  66.jpeg                       :    18    13    31     0     0
  67.jpeg                       :    17    13    30     0     0
  68.jpeg                       :    17    13    30     0     0
  69.jpeg                       :    19    12    31     0     0
  70.jpeg                       :    19    12    31     0     0
  71.jpeg                       :    22    13    35     0     0
QR code decode failed due to Format data ECC failure
  72.jpeg                       :    16    14    30     1     0
QR code decode failed due to ECC failure
  73.jpeg                       :    18    14    32     1     0
QR code decode failed due to Format data ECC failure
  74.jpeg                       :    16    15    31     1     0
QR code decode failed due to ECC failure
  75.jpeg                       :    16    15    31     1     0
QR code decode failed due to ECC failure
  76.jpeg                       :    16    14    31     1     0
QR code decode failed due to ECC failure
  77.jpeg                       :    16    14    30     1     0
QR code decode failed due to ECC failure
  78.jpeg                       :    17    14    31     1     0
QR code decode failed due to Format data ECC failure
  79.jpeg                       :    16    14    30     1     0
QR code decode failed due to ECC failure
  80.jpeg                       :    17    14    31     1     0
QR code decode failed due to Format data ECC failure
  81.jpeg                       :    16    14    30     1     0
  82.jpeg                       :    17    11    28     0     0
QR code decode failed due to ECC failure
  83.jpeg                       :    17    14    31     1     0
QR code decode failed due to ECC failure
  84.jpeg                       :    17    15    32     1     0
QR code decode failed due to ECC failure
  85.jpeg                       :    17    14    32     1     0
QR code decode failed due to ECC failure
  86.jpeg                       :    16    15    31     1     0
QR code decode failed due to Format data ECC failure
  87.jpeg                       :    17    14    31     1     0
QR code decode failed due to ECC failure
  88.jpeg                       :    17    14    31     1     0
QR code decode failed due to ECC failure
  89.jpeg                       :    16    15    31     1     0
QR code decode failed due to Format data ECC failure
  90.jpeg                       :    16    15    31     1     0
QR code decode failed due to Format data ECC failure
  91.jpeg                       :    16    16    32     1     0
QR code decode failed due to ECC failure
  92.jpeg                       :    16    15    31     1     0
QR code decode failed due to ECC failure
  93.jpeg                       :    17    14    31     1     0
QR code decode failed due to Format data ECC failure
  94.jpeg                       :    17    14    31     1     0
QR code decode failed due to ECC failure
  95.jpeg                       :    18    14    33     1     0
QR code decode failed due to ECC failure
  96.jpeg                       :    16    15    31     1     0
QR code decode failed due to Format data ECC failure
  97.jpeg                       :    17    14    32     1     0
QR code decode failed due to ECC failure
  98.jpeg                       :    16    15    31     1     0
JPEG error: Premature end of JPEG file
QR code decode failed due to ECC failure
  99.jpeg                       :    13    18    31     1     0
-------------------------------------------------------------------------------
images: 100 files, 63 codes, 0 decoded (63 failures), 0% success rate
Total time [load: 1780, identify: 1390, total: 3180]
Average time [load: 17, identify: 13, total: 31]

Iam attaching one of the image i used for testing.
I need help in getting the application to scan the QR code.
I want to know what is wrong and what needs to be improved.
30

@numberone0001
Copy link

I think that is because your image is not clear enough. I met the same problem with you, do u solve this?

@kumarVikram56
Copy link

kumarVikram56 commented Oct 10, 2023

Hey @lakshminarayanagurram or @numberone0001 , did you get any solution for above issue? working on same type of images. i have same type of image as above pic. but on trying to decode it i'm getting either Format data ECC failure or ECC failure. i have also applied code for decoding mirror or horizonatal images i.e handling the case of ECC failure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants