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: [email protected] 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: [email protected] [[email protected]] On Behalf Of Gary Chambers [[email protected]] Sent: Thursday, August 04, 2011 10:20 AM To: [email protected] 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: [email protected] 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 ----- From: Gary Chambers To: [email protected] Sent: Tuesday, August 02, 2011 5:51 PM Subject: Re: [Pharo-project] Polymorph improvements Screenshot of part of project: http://www.flickr.com/photos/12018791@N06/6001799235/in/photostream Regards, Gary ----- Original Message ----- From: Gary Chambers To: Pharo Development 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. http://code.google.com/p/pharo/issues/detail?id=4590 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
