Skip to content
Why is a raven like a writing desk?

Thoughts both confusing and enlightening.

Why is a raven like a writing desk?

Thoughts both confusing and enlightening.

UPC scanning

elbeno, 26 September, 200726 September, 2007

Well, I’ve finished with the easy bit. I’ve written code to grab a frame from the webcam and do a bit of postprocessing. The postprocessing looks like a good step towards making barcode recognition easier. I’m only working on this at nights so far, so I figure coping with the poor lighting I have in my study bodes well for the future.

Here’s a webcam grab:
barcode_colour
Here’s the same grab, converted to greyscale:
barcode_grey
Here’s the same grab, with the output range normalized (and the colour histogram biased by about 20 to get rid of the low frequency colours at the extrema):
barcode_greypostprocess
Note: these images are cropped from larger images, so if you look at the histogram you probably won’t see the same thing I’m seeing.

Now for the hard part: writing the code to recognise the barcode.

Uncategorized

Post navigation

Previous post
Next post

Related Posts

2 March, 2005

Way to go, 17 computer science professors!

Read More

Highlights from the Xmas Playlist

24 December, 2006

I make no apologies for taste. But at least it doesn't include Slade. Have Yourself a Merry Little Christmas – Diana Krall O Tannenbaum – Vince Guaraldi Trio All I Want for Christmas is You – Mariah Carey Santa Claus is Coming to Town – Bjorn Again (It Must Have…

Read More

Back from vacation

31 May, 2007

Went to see the family in MN. Had a good time. Details to follow on the mini-Elbeno-blog no doubt.

Read More

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

©2026 Why is a raven like a writing desk? | WordPress Theme by SuperbThemes