{"action":"opened","issue":{"url":"https://api.github.com/repos/serratus/quaggaJS/issues/312","repository_url":"https://api.github.com/repos/serratus/quaggaJS","labels_url":"https://api.github.com/repos/serratus/quaggaJS/issues/312/labels{/name}","comments_url":"https://api.github.com/repos/serratus/quaggaJS/issues/312/comments","events_url":"https://api.github.com/repos/serratus/quaggaJS/issues/312/events","html_url":"https://github.com/serratus/quaggaJS/issues/312","id":340959929,"node_id":"MDU6SXNzdWUzNDA5NTk5Mjk=","number":312,"title":"tyring to scan barcodes of PS1 Games","user":{"login":"Rockatweb","id":2091906,"node_id":"MDQ6VXNlcjIwOTE5MDY=","avatar_url":"https://avatars0.githubusercontent.com/u/2091906?v=4","gravatar_id":"","url":"https://api.github.com/users/Rockatweb","html_url":"https://github.com/Rockatweb","followers_url":"https://api.github.com/users/Rockatweb/followers","following_url":"https://api.github.com/users/Rockatweb/following{/other_user}","gists_url":"https://api.github.com/users/Rockatweb/gists{/gist_id}","starred_url":"https://api.github.com/users/Rockatweb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rockatweb/subscriptions","organizations_url":"https://api.github.com/users/Rockatweb/orgs","repos_url":"https://api.github.com/users/Rockatweb/repos","events_url":"https://api.github.com/users/Rockatweb/events{/privacy}","received_events_url":"https://api.github.com/users/Rockatweb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-13T10:06:34Z","updated_at":"2018-07-13T10:06:34Z","closed_at":null,"author_association":"NONE","body":"Hi there,\r\nim trying to scan barcodes of old PS1 games, but i didnt get it working. I think the problem is that the barcode itself is on a white background with black surrounding an that causes the scanner to not read the barcode properly. I also tried a barcode that is on a complete white background and that works fine, but not on that with the black one.\r\n\r\nHere is my config for the scanner:\r\n`quaggaState: {\r\n                    inputStream: {\r\n                        name: 'Live',\r\n                        type: 'LiveStream',\r\n                        constraints: {\r\n                            width: {min: 640},\r\n                            height: {min: 480},\r\n                            aspectRatio: {min: 1, max: 100},\r\n                            facingMode: 'environment'\r\n                        },\r\n                        singleChannel: true,\r\n                        photoSettings: {\r\n                            fillLightMode: \"flash\", /* or \"flash\" */\r\n                            focusMode: \"continuous\"\r\n                        },\r\n                    },\r\n                    locator: {\r\n                        patchSize: 'medium',\r\n                        halfSample: true\r\n                    },\r\n                    numOfWorkers: 1,\r\n                    frequency: 10,\r\n                    decoder: {\r\n                        readers: [{\r\n                            format: \"ean_reader\",\r\n                            config: {\r\n                                supplements: [\r\n                                    'ean_5_reader', 'ean_2_reader'\r\n                                ]\r\n                            }\r\n                        }],\r\n                    },\r\n                    locate: true\r\n                }`\r\n\r\nAnd here are some barcodes of games\r\n\r\n![img_1214](https://user-images.githubusercontent.com/2091906/42685989-d4e00536-8694-11e8-96fd-ac416699c823.jpg)\r\n![img_1221](https://user-images.githubusercontent.com/2091906/42685990-d4fc5718-8694-11e8-875a-b33e17f578e8.jpg)\r\n\r\nCan anybody help me with this problem?"}}
{"actor":{"display_login":"Rockatweb"}}