# Why..... \[error\] \[Barcode Decoder:Qrdecode\] NotFoundException: No MultiFormat Readers were able to detect the code

**URL:** <https://discourse.nodered.org/t/why-error-barcode-decoder-qrdecode-notfoundexception-no-multiformat-readers-were-able-to-detect-the-code/43351>\
**Category:** General\
**Created:** [29 March 2021 09:50 UTC](https://discourse.nodered.org/t/why-error-barcode-decoder-qrdecode-notfoundexception-no-multiformat-readers-were-able-to-detect-the-code/43351 "2021-03-29T09:50:03Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![12345](https://avatars.discourse-cdn.com/v4/letter/1/ec9cab/32.png) [@12345](https://discourse.nodered.org/u/12345)\
**Post date:** [29 March 2021 09:50 UTC](https://discourse.nodered.org/t/why-error-barcode-decoder-qrdecode-notfoundexception-no-multiformat-readers-were-able-to-detect-the-code/43351/1 "2021-03-29T09:50:03Z")

</div>

[{"id":"9d026d51.1a392","type":"tab","label":"webcam+Qrdecode","disabled":false,"info":""},{"id":"5e606e13.97f31","type":"inject","z":"9d026d51.1a392","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUoAAAFKAQMAAABB54RGAAAABlBMVEX///8AAABVwtN+AAAACXBIWXMAAA7EAAAOxAGVKw4bAAABnUlEQVRoge2aSQ7DIAxFkXIAjsTVORIHiETBE5A2y8pe/L9IAzyycTzgNCUIgv6k3EV1DHpv17ht867fSZduoFFQ+SV06Np31gMBGgFlI9YslkxlGDYVnpubgEZEd18kHmholMw5LlNAY6IkmeHhMCw9ox4IUH+0iyhoPi4ioFHQpemGXyb+LaBOqNmv6jCRGxau+G0BaAjUHG35XdOK3xaAhkGFapTYFtA3mwINgu6xcaxJLcIqWvYDDYJ2MWdVgPitC1IT0Cjo0sZbp+qtNAHqg5ph+eQ8p8j5pjjZ1e1ZQH1RWqNmR7Pjc5YhJzsLmkDd0Szdjc5fU3ha81w53wGg7igdny+5FA2VslP7+ECDoPdegRTJbRxIpWd/vgNAfVEtOSavAH8K+wqaQN3Rh7fp+YwMrDzQEOhSthSnrZDFA42BZg2Tq+NhHkheeRQkQJ1Rcz4Nn+vvUWsn0DDoI2im9Aia7ykOqB9qDqldkO00DTQiqgCtydYXwwJ1QXm6yoR0Qcgrf3+HAeqH7s4nXSm9ky5IAhoFhSDoD/oAraCPe3yjI8kAAAAASUVORK5CYII=","payloadType":"str","x":170,"y":120,"wires":[["4c21d07e.1f1e6"]]},{"id":"4c21d07e.1f1e6","type":"ui\_webcam","z":"9d026d51.1a392","name":"","group":"e9f847cb.043ce8","order":5,"width":0,"height":5,"countdown":false,"autoStart":false,"hideCaptureButton":false,"showImage":"2","mirror":true,"format":"png","x":340,"y":120,"wires":[["a5dcaa03.6c6a88"]]},{"id":"a5dcaa03.6c6a88","type":"image viewer","z":"9d026d51.1a392","name":"","width":"160","data":"payload","dataType":"msg","x":510,"y":120,"wires":[["48bfbb63.81e304"]]},{"id":"48bfbb63.81e304","type":"Barcode Decoder","z":"9d026d51.1a392","name":"Qrdecode","data":"payload","dataType":"msg","tryharder":"true","tryharderType":"bool","QR\_CODE":true,"DATA\_MATRIX":true,"PDF\_417":true,"EAN\_8":false,"EAN\_13":false,"CODE\_39":false,"CODE\_128":false,"ITF":false,"RSS\_14":false,"x":700,"y":120,"wires":[["6bb5b15e.53c7e"]]},{"id":"6bb5b15e.53c7e","type":"debug","z":"9d026d51.1a392","name":"read","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":910,"y":120,"wires":},{"id":"e9f847cb.043ce8","type":"ui\_group","name":"Display","tab":"b7832925.cf1fc8","order":4,"disp":true,"width":"6","collapse":false},{"id":"b7832925.cf1fc8","type":"ui\_tab","name":"Home","icon":"dashboard","disabled":false,"hidden":false}]

---

<div class="post-metadata">

**Author:** ![12345](https://avatars.discourse-cdn.com/v4/letter/1/ec9cab/32.png) [@12345](https://discourse.nodered.org/u/12345)\
**Post date:** [29 March 2021 09:53 UTC](https://discourse.nodered.org/t/why-error-barcode-decoder-qrdecode-notfoundexception-no-multiformat-readers-were-able-to-detect-the-code/43351/2 "2021-03-29T09:53:27Z")

</div>

![Screenshot (16)](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/9/49c6c6478523431976f27033b13d4bbd34ea4658.png)

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [29 March 2021 10:15 UTC](https://discourse.nodered.org/t/why-error-barcode-decoder-qrdecode-notfoundexception-no-multiformat-readers-were-able-to-detect-the-code/43351/3 "2021-03-29T10:15:35Z")

</div>

Hi, in order to make code more readable and importable it is important to surround your code with three backticks  
`````  
`like this`  
`````

You can edit and correct your post by clicking the pencil icon.

See this post for more details - [How to share code or flow json](https://discourse.nodered.org/t/how-to-share-code-or-flow-json/506)

Also tell us which node you are using, node-red-contrib-something probably.

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [29 March 2021 10:21 UTC](https://discourse.nodered.org/t/why-error-barcode-decoder-qrdecode-notfoundexception-no-multiformat-readers-were-able-to-detect-the-code/43351/4 "2021-03-29T10:21:41Z")

</div>

unfortunately the decoder in "image-tools" is not the greatest & needs better imagery than you have provided. You might be able to use the various "image tools" functions (like crop, contrast, brightness, rotation, re-sample, slight gaussian blur etc) to make it readable before sendinr to the decoder

That said, to prove it is actually working on your system (and it s not something else), import the demo (CTRL+I --\> examples)

 ![barcode](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/3/532399694d59d1ef794d2214367f0b4a2b85510c.gif)

Do the demos work?

---

<div class="post-metadata">

**Author:** ![12345](https://avatars.discourse-cdn.com/v4/letter/1/ec9cab/32.png) [@12345](https://discourse.nodered.org/u/12345)\
**Post date:** [30 March 2021 02:45 UTC](https://discourse.nodered.org/t/why-error-barcode-decoder-qrdecode-notfoundexception-no-multiformat-readers-were-able-to-detect-the-code/43351/5 "2021-03-30T02:45:38Z")

</div>

![Screenshot (18)](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/8/f/8fbc1269e778bb0f3cbbb3cfe9e08ac1fde1c4ee.png)

\*the Qrcode that i decode i took it from a webcam camera shoot

---

<div class="post-metadata">

**Author:** ![12345](https://avatars.discourse-cdn.com/v4/letter/1/ec9cab/32.png) [@12345](https://discourse.nodered.org/u/12345)\
**Post date:** [30 March 2021 02:49 UTC](https://discourse.nodered.org/t/why-error-barcode-decoder-qrdecode-notfoundexception-no-multiformat-readers-were-able-to-detect-the-code/43351/6 "2021-03-30T02:49:14Z")

</div>

![Screenshot (19)](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/8/e/8eb254f4e3b697b8c252f5a06e06ee0ea91ea4f2.jpeg)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [29 May 2021 02:49 UTC](https://discourse.nodered.org/t/why-error-barcode-decoder-qrdecode-notfoundexception-no-multiformat-readers-were-able-to-detect-the-code/43351/7 "2021-05-29T02:49:20Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
