,

Adopting! A bot, that is.

While I work on the speech recognition project K.A.R.E.N. I have another project on the back of my mind. The OCR receipt thing I mentioned a while ago. I’ll have to make a bot that can read images and convert it to text, and then more scripts to parse that information further into spreadsheets. A rabbit hole sort of a project, which is totally fine. It’ll (hopefully) teach me more about Python, a coding language I begrudgingly love (the begrudgingly is only because I don’t enjoy sitting and coding, but I enjoy the ability to sit back and have something I made do what I told it too, and I pretty much can understand Python if I look at it long enough).

 

I’m calling it something like adoption day. Since step one is to have an image to text processor, I’ll start everything by writing a command that will call the OCR engine to read whatever images are in a folder, and convert the images into text, and place it as a module into the /karen/lib folder. I’ll try to make the image directory configurable to any folder in the computer via the settings.json so moving files around the system won’t be so tedious from image capture to image reading, and put the text file save location to the settings file. Once all that is complete, step one is finished.

 

_________________________

 

Technically it’s finished. A basic version. And it happened a lot sooner than I expected it would. It’s not perfect, and I’m guessing a little bit of tweaking will make it even better, and more complicated, based off of a little bit of research. When I get a little further into it I’ll update the OCR Receipt Reader page.

 

My night was finished with a stream of trying out multithreading with Python. In the end, at least for now, I’m realizing it’s not going to work for me where I thought I would. But I know how it works now, and if I remember about it in the future it could serve me well. I played a little bit of Minecraft, and will be making a chat bot that hopefully will be some semblance of smart, but we will see.

 

I hope everyone has a good night, morning, or whatever follows whenever you finish reading this.