{"action":"created","issue":{"url":"https://api.github.com/repos/serratus/quaggaJS/issues/48","labels_url":"https://api.github.com/repos/serratus/quaggaJS/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/serratus/quaggaJS/issues/48/comments","events_url":"https://api.github.com/repos/serratus/quaggaJS/issues/48/events","html_url":"https://github.com/serratus/quaggaJS/issues/48","id":88651477,"number":48,"title":"doing a scan, ean is being interpreted as upc_e","user":{"login":"madmanpierre","id":3065555,"avatar_url":"https://avatars.githubusercontent.com/u/3065555?v=3","gravatar_id":"","url":"https://api.github.com/users/madmanpierre","html_url":"https://github.com/madmanpierre","followers_url":"https://api.github.com/users/madmanpierre/followers","following_url":"https://api.github.com/users/madmanpierre/following{/other_user}","gists_url":"https://api.github.com/users/madmanpierre/gists{/gist_id}","starred_url":"https://api.github.com/users/madmanpierre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madmanpierre/subscriptions","organizations_url":"https://api.github.com/users/madmanpierre/orgs","repos_url":"https://api.github.com/users/madmanpierre/repos","events_url":"https://api.github.com/users/madmanpierre/events{/privacy}","received_events_url":"https://api.github.com/users/madmanpierre/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-06-16T08:05:14Z","updated_at":"2015-07-07T22:45:27Z","closed_at":null,"body":"The addition of the format was a great help in determining some scan errors I'm getting. Specifically,  I'm getting some of my ean barcodes interpreted as upc_e.\r\n\r\nIs there a way I can get 'the image' that was used for processing back without going into debug? (If the answer is 'no, use debug' then I'll work on understanding that tomorrow. But if there is a way I can get the image that was used for the onDetected - then I'll use that (and it will allow me to have my customers send me 'faulty reads' as well, I'll write the code to allow them to email me any 'bad reads' along with the result data object.)"},"comment":{"url":"https://api.github.com/repos/serratus/quaggaJS/issues/comments/119365413","html_url":"https://github.com/serratus/quaggaJS/issues/48#issuecomment-119365413","issue_url":"https://api.github.com/repos/serratus/quaggaJS/issues/48","id":119365413,"user":{"login":"serratus","id":1381822,"avatar_url":"https://avatars.githubusercontent.com/u/1381822?v=3","gravatar_id":"","url":"https://api.github.com/users/serratus","html_url":"https://github.com/serratus","followers_url":"https://api.github.com/users/serratus/followers","following_url":"https://api.github.com/users/serratus/following{/other_user}","gists_url":"https://api.github.com/users/serratus/gists{/gist_id}","starred_url":"https://api.github.com/users/serratus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/serratus/subscriptions","organizations_url":"https://api.github.com/users/serratus/orgs","repos_url":"https://api.github.com/users/serratus/repos","events_url":"https://api.github.com/users/serratus/events{/privacy}","received_events_url":"https://api.github.com/users/serratus/received_events","type":"User","site_admin":false},"created_at":"2015-07-07T22:45:27Z","updated_at":"2015-07-07T22:45:27Z","body":"I've just pushed my latest changes to the master branch (see 31df5d8faff10325b0f94cdd28f4e990eb38fc08). They include various fixes and tweaks for the entire EAN and UPC familiy. From now on, the misinterpretation of the shorter codes (e.g.: upc-e instead of upc) should occur far less frequent.\r\n\r\nOne more thought on the configuration working with more than one type of barcode: Make sure to include them in the right order, because UPC codes might otherwise be interpreted as EAN-13 codes, since the only differentiation is the leading 0. \r\n\r\n```javascript\r\ndecoder: {\r\n  readers : [\"upc_reader\", \"ean_reader\", \"upc_e_reader\", \"ean_8_reader\"]\r\n},\r\n```"}}