QR Code Reader and Catalog RaspberryPi Part 1

I have a storage room, garage, and a workspace. I'm planning to use this to catalog everything from collectibles, Christmas decorations, electronics, leather works, models, research materials, and more. I want to be able to search for items I need and find where they are located in my massive collections. A while back I wanted …

Python 3 cv2 Has No Attribute Aruco

Osiyo. Dohiju? ᎣᏏᏲ. ᏙᎯᏧ? Hey, welcome back. I don't use Aruco in my work. I haven't had a need for Hiro or Aruco markers. However, I was testing some code and came across this error: AttributeError: module 'cv2.cv2' has no attribute 'aruco' Sometimes my pip installs get munged when I install other packages. So I …

Natural Language Understanding (NLU) With Python

Osiyo. Dohiju? Hey, welcome back. One element of SERINDA that I know better than all of the others, including OpenCV and OpenGL, is Natural Language Understanding (NLU). I think since 2009, but may be earlier than that, I have used CMU Sphinx. I know before that I had my own NLU parser written in Java. …

Tensorflow Install Issues With Pip3 MacOS

Osiyo. Dohiju? Hey, welcome back. I was attempting to install Tensorflow on my Mac and had a couple issues that took moments to figure out but were annoying nonetheless. I encountered an issue with pip3 install tensorflow which would give me this error ERROR: Could not find a version that satisfies the requirement tensorflow. The …

Flask and Dynamic Template Load

Osiyo. Dohiju? Hey, welcome back. While working on Serinda I have developed a plugin style way of adding more functionality with minimal work inside the main code. What this means is I have a plugin directory and in that directory are all of the directories containing my plugins (each plugin has it's own directory) which …

Javascript Timed Redirect

Osiyo. Dohiju? Hey, welcome back. I'm throwing this out here. I needed a quick script to redirect users on the front-end. I wanted to be able to implement it without messing with the webserver. The idea is that the script looks at the url - which contains unique values for the pages I want to …

Tesseract Processing Images With Multiple Languages

Osiyo. Dohiju? Hey, welcome back. Tesseract is a great Optical Character Recognition (OCR) program. OCR is, simply, the ability to take an image and find the text included in it and pretty accurately return that as plain text. There are a couple implementations of it out there including an all Javascript version. I'm going to …

metaClass things to remember

So I just read a post where a kind of cool debug was posted by Jochen Theodorou (blackdrag) The Groovy Project Tech Lead (http://groovy.codehaus.org) http://blackdragsview.blogspot.com/ http://www.g2one.com/ Anyway, I thought this was a great example of something that could be done with a metaClass change. I want to debug something so I do object.debug() You're asking, …

metaClass tips

MetaClass fun... A metaClass is a way to add a method-like statement to an existing Class at runtime. I don't know another way to say it really. For the JavaScript gurus out there, this is the same as the prototype if you rewrote the code I provide swapping metaClass with prototype they'd be the same …

kind of MetaClass-y

I wanted to do something with a closure where my action listener didn't have to know what events to use... e.g. normally, you'd tell the implemented ActionListener that if (event.name) == "bob" or whatever then perform an action in this case, we're going to use a simple ActionListener that doesn't care about the event, just …