Issue 1472 in zxing: Recognize inverted color (white on black) QR codes

1,563 views
Skip to first unread message

zx...@googlecode.com

unread,
Jan 1, 2013, 9:13:53 PM1/1/13
to zx...@googlegroups.com
Status: New
Owner: ----

New issue 1472 by z...@zansstuff.com: Recognize inverted color (white on
black) QR codes
http://code.google.com/p/zxing/issues/detail?id=1472

What steps will reproduce the problem?
Scan a QR code that has been printed in a light color on a dark background
such as those seen in the attached pictures.

What is the expected output? What do you see instead?
Expected that QR code will be recognized. Instead, the code isn't
recognized unless a photo of it is inverted in image editing software.

What version of the product are you using? On what operating system?
Barcode Scanner 4.3.1 on Android 4.1.1

Please provide any additional information below.
As QR codes enter the mainstream, more and more graphic designers are
incorporating inverted QR codes when they think it works better
aesthetically, despite the fact that it violates the standard. Some other
software, including as i-nigma, neoreader, and scanlife, have supported
this for years.

Attachments:
1.jpg 272 KB
4.jpg 189 KB

zx...@googlecode.com

unread,
Jan 2, 2013, 4:10:24 AM1/2/13
to zx...@googlegroups.com
Updates:
Status: NotABug

Comment #1 on issue 1472 by srowen: Recognize inverted color (white on
This has been discussed many times. Inverted QR codes are not a part of the
required spec and so should not be used. It's easy to scan for them, but
would waste half of all the CPU time consumed, when they are rare and not
really something that should be used to begin with. The + app does have a
setting to switch to only scan for inverted codes
(https://play.google.com/store/apps/details?id=com.srowen.bs.android) which
I may back-port some day.

zx...@googlecode.com

unread,
May 5, 2014, 4:53:04 PM5/5/14
to zx...@googlegroups.com

Comment #2 on issue 1472 by thomas.s...@gmail.com: Recognize inverted color
Hey Sean,

I also seen the app not working on some barcodes which seemed to be
inverted.
Are you still considering a back-port of this feature? It would be a great
improvement of your app.

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

zx...@googlecode.com

unread,
May 5, 2014, 5:07:52 PM5/5/14
to zx...@googlegroups.com

Comment #3 on issue 1472 by srowen: Recognize inverted color (white on
It has been in the app for a little while, yes. It's a separate mode.

zx...@googlecode.com

unread,
Oct 7, 2014, 1:59:11 AM10/7/14
to zx...@googlegroups.com

Comment #4 on issue 1472 by danielre...@gmail.com: Recognize inverted color
(white on black) QR codes
https://code.google.com/p/zxing/issues/detail?id=1472

Any news on this?

zx...@googlecode.com

unread,
Oct 7, 2014, 8:09:37 AM10/7/14
to zx...@googlegroups.com

Comment #5 on issue 1472 by srowen: Recognize inverted color (white on
This site is not used anymore -- have a look at github.com/zxing/zxing

This function has been in the app for a while. I have heard it doesn't work
on some phones (the 'negative' scene mode) and I don't know why. I think it
is a device problem. There is no active development on the project but
patches are welcome.
Reply all
Reply to author
Forward
0 new messages