Camera + Pictures manipulation

Kamac

Active Member
Licensed User
Longtime User
Hi, at first i must say that i am asking for much :(

...

But since i am too weak to get rid of this, i am forced to.


Could somebody please point me out how to create a barcode scanner,

ss480018.jpg


but only with taking the picture, and then manipulating it to take out a line of pixels (the green one) which after that all would be (sample) looking like that:

barcodeafterscan.png



So i can use a routine to check if pixel is white or black and store it as 1 if black and 0 as white to a file...



I know it's really much, but i am newbie :sign0161:.


I guess no one will really wish to help out with such a big thing.

I've saw camera library which could be useful for that i think.
 

mistermentality

Active Member
Licensed User
Longtime User
If the reason is to just read and store a barcode you could do that with the abzxing library available in the libraries area of the forum. However if there is a reason other than wanting to find the barcode perhaps you could scan the barcode with that library and then someone could show you how to work with the result.

Dave
 
Upvote 0

Kamac

Active Member
Licensed User
Longtime User
I'd like to scan the barcode to get line of pixels, like in the line example, which i could store as numbers (1 as black pixel, 0 as white pixel).

I wonder if that library can do it, but i'm going to check it out, thanks ;).

@EDIT

Thanks for that library!

Now it all works!
 
Last edited:
Upvote 0
Top