Re: [Jocr-devels] recognizing 7 segment numbers
Status: Alpha
Brought to you by:
joerg10
|
From: Carl K. <ca...@pe...> - 2008-07-23 15:48:21
|
awesome! thanks. Know of any python bindings for gocr? i could use PIL for the image stuff, and the -> database step would be easier. Carl K Christian Stern wrote: > I tested it out. > > gorc was able to read the digits. i cropped the picture. turned in > black and white and removed the dot. if the cam is on a fixed position > it is possible to put all these in a script to get your volt-display > into a file or database. > > script: > > read pictures exiv for datestamp > crop it to digits only > (remove dot) > black and white > gorc > -> database > > If there is no contant brightness and a window you will need some > settings fit to the daylight outside. > > possible! > > Christian Stern > > 2008/7/23 Carl Karsten <ca...@pe...>: >> I have a webcam pointed at a digital volt meeter - it saves a jpg every minute. >> I want to graph the numbers over time (time stamp of the file) - here is a sample: >> >> http://dev.personnelware.com/carl/temp/Jul23/a/motion/01-20080723093400-snapshot.jpg >> >> I am guessing this is outside what gocr is meant for, but figured I would ask, >> and ask for suggestions too. >> >> one thought is I can probably check for which segments are on, and then it is a >> simple lookup: assign segments to bits, 0 is the 6 outer segments on, so >> something like 1111110 = 0x7e = 126. 1 is just the 2 on the right: 0110 0000 - >> 0x60 = 96. >> >> 126, 0 >> 96, 1 >> ... >> 127, 8 >> >> The tricky part is identifying where the segments are. for the most part >> everything is stationary, but as I re-configure my tests I move the cam/meeter >> around, so each run will have the segments in different parts of the image. >> If gocr could somehow help with this, yay. >> >> Carl K >> >> >> >> >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge >> Build the coolest Linux based applications with Moblin SDK & win great prizes >> Grand prize is a trip for two to an Open Source event anywhere in the world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> Jocr-devels mailing list >> Joc...@li... >> https://lists.sourceforge.net/lists/listinfo/jocr-devels >> > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Jocr-devels mailing list > Joc...@li... > https://lists.sourceforge.net/lists/listinfo/jocr-devels > > |