What's in an updated name?

An update on roses and how they smell, as well as a framework for viewing your collection online!


In a previous blog post, I stated:

Well, when we actually took some pictures using the tower, I found out that the tolerancing of how much the card could move wasn't as tight as I thought it was. Basically, this meant that I couldn't rely on just cropping anymore, and I had to implement that OCR stuff that I said was "a lot of work". Whoops! So now we have OCR to find the area of text, and our text recognition rate is now back up to 100% (in a test of 40 cards). Great! Unfortunately this slows down our performance because a lot more processing now has to happen on the Pi, but we decided making the user wait another second was worth having a more accurate algorithm. (If you come see us during symposium, feel free to ask about how it works in more detail!)

A huge surprise while I was testing the algorithm on the Raspberry Pi was how big of a difference Tesseract v3 and Tesseract v4 made with the text recognition. Whatever those researchers did between v3 and v4 was a huge relief for me, as Tesseract v3 actually only "read" the text successfully about 50% of the time under some very exact situations. Additionally, the Raspberry Pi doesn't have an automatic installer for Tesseract v4 (usually a simple "pip3 install tesseract" command in the console would do), so I had to manually pull Tesseract v4 from Git, build it, then install it on the Pi (especially annoying when doing at 6 in the morning).

Another update on my part is getting an online copy of the user's collection up, which you can find here! Right now (as of writing this post) it's just a bunch of test data, but I basically have a script that pulls the user's data from our database, spits it into a JSON file, and then gets processed when the user loads this webpage. This is actually the very, VERY, nonideal way to do this, but unfortunately our database doesn't have the proper HTTPS certificates and Google Chrome (the web browser I'm using to test with) absolutely ABHORS queries to things that aren't "secure".

If I've learned anything about my experiences during school, co-op, and now this FYDP.....there's a way to do anything if you're willing to make some questionable design decisions.

Prev | Next

All Posts