Open Rockatweb opened 6 years ago
hey @Rockatweb did you adjust something to improve the reading? i've also noticed problems with PS1 games, i suspect that it's a similar sort of thing. i've noticed on my Nexus 5 that barcodes similar to this seem to trigger some bizarre responses from the phone's light balancing, and that working in an area that is surprisingly less than well lit seems to work better for these codes than a well lit area.. which makes me think that it's more the live camera input that is causing problems than the barcodes themselves.. but i could be wrong.
hey @ericblade, no i didnt adjust something to improve the reading. i closed the thread because i thought i found a better lib, but that wasnt so. And it makes no difference to me if the working area is well lit or dark as a cave... the scanner doesnt work on these type of codes on my project. It also doesnt work on a screenshot of the barcode like the two ones in my opening post :(
I know this doesn't help on the code/bug side of things, but I've found that in live camera mode, holding the barcode at a 45 deg angle to the camera often helps . . much like is usually suggested with a laser scanner. I'm not sure why that helps, i'm not an image processing guru. :-S Most of the problems that I have with immediate recognition do seem to be when barcodes are inside white squares on otherwise dark backgrounds.
Hi there, im 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.
Here is my config for the scanner:
quaggaState: { inputStream: { name: 'Live', type: 'LiveStream', constraints: { width: {min: 640}, height: {min: 480}, aspectRatio: {min: 1, max: 100}, facingMode: 'environment' }, singleChannel: true, photoSettings: { fillLightMode: "flash", /* or "flash" */ focusMode: "continuous" }, }, locator: { patchSize: 'medium', halfSample: true }, numOfWorkers: 1, frequency: 10, decoder: { readers: [{ format: "ean_reader", config: { supplements: [ 'ean_5_reader', 'ean_2_reader' ] } }], }, locate: true }
And here are some barcodes of games
Can anybody help me with this problem?