Jerd
Posts: 12
Joined: Sun Sep 30, 2012 8:35 pm

House power monitor using OCR(?)

Tue Jan 01, 2013 3:53 pm

Hi all!

I would love to get some feedback on this project I'm about to embrace.

I want t use a RPi with a webcam which each hour will take a photo of my house power-meter. Then process the image with some OCR-software (perhaps tesseract would work well?) to extract the power-meter reading. Finaly send the resault to a mysql db.

I plan to use Python to do the local work of fetching information from the OCR software, and do some simple checks to reduce faulty reads as much as possible. Then build a php frontend to show the data - perhaps with jQuery mobile to nicely support phones and pads.

Anyone else doing a similar project? All input is much appreciated.

Best regards, Jon

tenochtitlanuk
Posts: 156
Joined: Fri Jul 06, 2012 8:51 pm
Location: Taunton, Somerset, UK
Contact: Website

Re: House power monitor using OCR(?)

Tue Mar 19, 2013 10:23 pm

A quick-and-dirty way is to recognize that a fixed camera position means all seven-segment-bars are at reproducible positions. Just look at a pixel in each bars centre & decode. Much easier than doing proper OCR!
Image
I've an example at http://www.diga.me.uk/sevenSegDecode.html but coded in another language.

Tafkas
Posts: 49
Joined: Sun Sep 16, 2012 11:15 pm
Contact: Website

Re: House power monitor using OCR(?)

Sat May 11, 2013 3:55 pm

Interesting idea. Instead of a MySQL db i would recommend rrd-tools. I used a similar approach for recording temperatures in my appartment. The charts are generated on the client side using JavaScript. I also wrote a summary of how I did it.

Return to “Other projects”