Bill,
 
no prob.
For OmniPage we are using FFI with the SDK dlls, the others essentially command line (via FFI for CreateProcess on Win32 etc) as quickest to do for evaluation purposes.
 
For app comms, at present just a serious abuse of the clipboard for now. We can add Socket modules etc. as required ;-)
 
As a desire, it would be nice if the clipboard plugin could do non-text types (Forms for example)... then we won't have to do platform specifc stuff when the need arises (just pasting plain-text/XML at the moment).
 
One amusement is our clipboard "processor" can look out for certain keyword structures for a bi-directional interface. The app can actually work nicely with Notepad, say! (manually copy command to retrive xml from Notepad then clipboard text replaced with the requested XMl from our app... then paste in).
 
We chose the abused clipboard route as being the simplest form of inter-process communications for demonstration purposes.

Regards, Gary
----- Original Message -----
From: Schwab,Wilhelm K
To: Pharo-project@lists.gforge.inria.fr
Sent: Thursday, August 04, 2011 3:54 PM
Subject: Re: [Pharo-project] Polymorph improvements

Gary,
 
No apologies, please :)  It's nice to Pharo being used for things like this.  How are you connecting to the OCR engines and VB app?  If those questions are too probing, then pretend I didn't ask.
 
Bill

 
 

From: pharo-project-bounces@lists.gforge.inria.fr [pharo-project-bounces@lists.gforge.inria.fr] On Behalf Of Gary Chambers [gazzaguru2@btinternet.com]
Sent: Thursday, August 04, 2011 10:20 AM
To: Pharo-project@lists.gforge.inria.fr
Subject: Re: [Pharo-project] Polymorph improvements

Hi Lorenzo,
 
I can't say too much at present but is basically a commercial application for a client for handling postal packages that slip through the rest of their automated processes.
 
So, using a handheld scanner (like MBagger) it gets a scan of the address label, OCRs it and extracts relevant information that can be passed on to their existing (VB) application, along with, say weight from electronic scales etc.
 
Currently we are trialling various 3rd party OCR engines: Abbyy, OmniPage and Tesseract (open source).
 
Of course, I'm making it vastly configurable so there will many potential uses...
 
Sorry if you were actually think that the OCR itself was done by us in Smalltalk ;-)

Regards, Gary
----- Original Message -----
From: Lorenzo Schiavina
To: Pharo-project@lists.gforge.inria.fr
Sent: Thursday, August 04, 2011 8:19 AM
Subject: Re: [Pharo-project] Polymorph improvements

Hi Gary,
 
I have seen from your screenshots that you are working on OCR projecr; can you give my some information about it?
 
Thanks
 
Lorenzo
----- Original Message -----
Sent: Tuesday, August 02, 2011 5:51 PM
Subject: Re: [Pharo-project] Polymorph improvements


Regards, Gary
----- Original Message -----
Sent: Tuesday, August 02, 2011 4:40 PM
Subject: [Pharo-project] Polymorph improvements

Hi all.
 
I've added an issue with some tweaks/improvements to a few Polymorph classes.
 
 
Groupboxes can now have dynamic content (model/getContentSelector based).
Abaility to create icon lists via builder/TEasilyThemed.
Expander labels now LabelMorphs rather than TextMorphs (can therefore appear as disabled)
IncrementalSliderMorphs now honour minWidth/minHeight in layouts
Panel morphs allow event based mouse over handling (call to super was missing).
Label groups allow for nil labels (equates to empty string)

Regards, Gary