How should I use this Seven Segment Optical Character Recognition ? - ocr

I found this online to solve a Digit number recognition issue I'm working on : https://www.unix-ag.uni-kl.de/~auerswal/ssocr/
however I really don't have any clue how to use it. Can someone help me ?
It's written "Use ssocr -T to recognize the above image.". I don't understand.
Thanks !

You should install all the dependencies first in order to use this package. Check the prerequisite part in the Install file and install all necessary items. Try referring this Raspberry Pi: Reading 7-Segment Displays guide for installation.

Related

Trying to understand waf options

I'm a noob to waf. I need to configure, build & install samba-4.1.4 on my RHL 6.5 system.
Trying to understand waf options specifically I've noted a lot of "with-xxxxx" options, and a few
"without-xxxxx" options. My question is: can I specify "without-xxxxx" if I don't want a particular samba feature built? e.g. there's a default "with-ldap", can I specify "without-ldap" ??
The supplied documentation does not specify exactly how to negate a default option.
I hope I've made myself clear
Thanks
Guy
Yes, thanks I went ahead and used the without-xxxx and ran the waf config process and it ran w/o error

ahk - ocr failed with camerb's library

I think that the camerb's library doesn't work very well, you can see the result of ocr in the following picture:
http://i.stack.imgur.com/Kyhqk.jpg
the same result is obtained if I try to do the ocr of a number, especially a float, the comma is often not recognized and the "0" is exchanged with the "o" :(
someone knows a more efficient library? ...thanks for the answers
if you want try the camerb's library, you can download it here:
http://www.autohotkey.com/board/topic/69127-ocrahk-library-for-recognizing-text-in-images/
i have just tried Capture2Text software, it's working pretty good (in a window 650x450) but if i try to do the OCR of a little window (400x320), the maching is not really exactly.
does anyone know if AbbyyFineReader works with command prompt? because the developers of this software tell that it has a precision of 99,8%.

Installing mym to connect to mysql with matlab

After quite a bit of searching and trying different things, I am stumped on how to get mym to work (as found here: http://sourceforge.net/projects/mym/). I was wondering if anyone has a very simple list of actions needed to get this to work. I think my main trouble is installing zlib. I don't understand how to actually install it or work with it. I have tried to use Microsoft Visual C++ Express 2010 but then only the debug versions are compiled. That means when I try to use the mex function in matlab it gives me the error:
Error: Could not detect a compiler on local system
which can compile the specified input file(s)
I just don't understand the process and everywhere I look it says something different. I have tried multiple versions of each all of the programs involved and nothing seems to work. Any help would be greatly appreciated.
Do:
mex -setup
from the command line to define your compiler on your system. Once you do that then Matlab will correctly locate the compiler and build the mex libraries it needs.
See:
http://www.mathworks.com/help/matlab/matlab_external/building-mex-files.html

AIR native process installation before execute

I'm currently working on an AIR-application, and I make use of a JAR-file for some functionality.
It is very easy to work with a JAR-file, to do so I use the following code:
var startupInfo:NativeProcessStartupInfo = new NativeProcessStartupInfo();
startupInfo.executable = myJarFile;
startupInfo.arguments = vectorWithArguments;
But now I want to make use of OptiPNG. It's a PNG optimizer you have to install and use via commandline.
The installation goes like this:
sudo make install
enter password
And after the installation you can optimize an image like this:
optipng test.png
My question is if I can make use of OptiPNG in my AIR-application? I personally think I can execute the optipng test.png, but I'm not sure about the installation.
Hopefully, someone can help me with this. Many thanks in advance!
After tons of hours spending on this issue, I've found out that it isn't possible. As a workaround, I have used an online API to do the work for the application.

oprofile on a stripped binary

I am trying to find ways to use oprofile on a stripped binary yet
still get detailed information when symbol tables are available
later, but so far I haven't find any solution.
Here is my situation: Our software is shipped to our customer stripped, but we have unstripped version on our build machine. When
we have a software crash, the backtrace can be sent back and we
can interpret it with local unstripped build.
Since oprofile is about taking samples and interpreting samples, is there a way to de-couple this process? Is there a way for oprofile/opreport to generate hex-address based profile information that can be interpretted on a different machine with all symbols available. Maybe I can do so by copying back the sample files?
I am sure it must be possible, so I am reaching out to the experts for advice. Detailed steps would be nice.
Thanks in advance.
I found a way to do it. It might not be the best, but I am surprised this didn't generate enough interest.
Say you have a binary called "mybin" and running its stripped version at customer site. Here would be my procedure:
Ask the customer (or your field engineer) run oprofile, the
whole nine yard (setup, start, dump and shutdown), then do:
tar czf OP-`date +"%Y%m%d%H%M%S"`.tgz /var/lib/oprofile
and ship that back.
On your build machine, do the following
mkdir /tmp/migrate && cd /tmp/migrate
tar xzf OP-*.tgz
Now you can check the overall CPU usage on target, by
opreport -% --session-dir=/tmp/migrate/var/lib/oprofile
If your "mybin" is built under /home/nobody/build/1.2.0/, you can use
opreport -l mybin --image-path /home/nobody/build/1.2.0/ --session-dir=/tmp/migrate/var/lib/oprofile
to see the details just for "mybin".