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 |
Screenshot of part of project: http://www.flickr.com/photos/12018791@N06/6001799235/in/photostream
Regards, Gary
|
Very nice!
2011/8/2 Gary Chambers <[hidden email]>: > 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 > |
In reply to this post by Gary Chambers-4
thanks for sharing that with us.
BTW did you see my question (some weeks ago) about minimalExtent or maximalExtent for window it seems that it is totally unused. Stef > 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 |
In reply to this post by Gary Chambers-4
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
|
In reply to this post by Stéphane Ducasse
Stef,
can't find any mails relating to minimumExtent and maximumExtent. I'm sure the min used to be honoured though (maybe back in Squeak, clearly not now since not sent!). Regards, Gary ----- Original Message ----- From: "Stéphane Ducasse" <[hidden email]> To: <[hidden email]> Sent: Tuesday, August 02, 2011 9:03 PM Subject: Re: [Pharo-project] Polymorph improvements thanks for sharing that with us. BTW did you see my question (some weeks ago) about minimalExtent or maximalExtent for window it seems that it is totally unused. Stef > 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 |
In reply to this post by Lorenzo
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
|
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: [hidden email] [[hidden email]] On Behalf Of Gary Chambers [[hidden email]] Sent: Thursday, August 04, 2011 10:20 AM To: [hidden email] 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
|
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
|
In reply to this post by Gary Chambers-4
Thank you Gary,
no problem about the fact that OCR is not in ST; as
I am working to some projects myself, I know that the problem is
to integrate the right tool.
Do you mind keeping me informed about the results
you reach?
Grazie
Lorenzo
|
No prob.
OmniPage is looking to be the frontrunner at the
moment balanced upon accuracy vs. speed.
These things do cost though... Tesseract doesn't do
too badly but absolutely requires the image cleanup stuff we did for MBagger.
The others also tend to do better with our preprocessing.
Regards, Gary
|
In reply to this post by Gary Chambers-4
Did you chekc sophie because may be I'm wrong but the copy paste could paste morph?
On Aug 4, 2011, at 5:18 PM, Gary Chambers wrote: > 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: [hidden email] > 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: [hidden email] [[hidden email]] On Behalf Of Gary Chambers [[hidden email]] > Sent: Thursday, August 04, 2011 10:20 AM > To: [hidden email] > 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: [hidden email] > 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: [hidden email] > 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 |
In reply to this post by Lorenzo
I think it's encouraging that the OCR is not in Smalltalk. The fact that Pharo can get between an OCR library and a VB app is a good sign. One could write an OCR system in Smalltalk, but should not _need_ to do so :)
Bill ________________________________________ From: [hidden email] [[hidden email]] On Behalf Of Lorenzo Schiavina [[hidden email]] Sent: Thursday, August 04, 2011 12:02 PM To: [hidden email] Subject: Re: [Pharo-project] Polymorph improvements Thank you Gary, no problem about the fact that OCR is not in ST; as I am working to some projects myself, I know that the problem is to integrate the right tool. Do you mind keeping me informed about the results you reach? Grazie Lorenzo ----- Original Message ----- From: Gary Chambers<mailto:[hidden email]> To: [hidden email]<mailto:[hidden email]> Sent: Thursday, August 04, 2011 4:20 PM 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<mailto:[hidden email]> To: [hidden email]<mailto:[hidden email]> 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<mailto:[hidden email]> To: [hidden email]<mailto:[hidden email]> 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<mailto:[hidden email]> To: Pharo Development<mailto:[hidden email]> 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 |
Just a few more screenshots...
http://www.flickr.com/photos/12018791@N06/sets/72157601659393251/with/6025912301/ A few Polymorph tweaks yet to come (AlphaImageMorph with scaling but retained aspect ratio for one...) Regards, Gary ----- Original Message ----- From: "Schwab,Wilhelm K" <[hidden email]> To: <[hidden email]> Sent: Thursday, August 04, 2011 10:46 PM Subject: Re: [Pharo-project] Polymorph improvements I think it's encouraging that the OCR is not in Smalltalk. The fact that Pharo can get between an OCR library and a VB app is a good sign. One could write an OCR system in Smalltalk, but should not _need_ to do so :) Bill ________________________________________ From: [hidden email] [[hidden email]] On Behalf Of Lorenzo Schiavina [[hidden email]] Sent: Thursday, August 04, 2011 12:02 PM To: [hidden email] Subject: Re: [Pharo-project] Polymorph improvements Thank you Gary, no problem about the fact that OCR is not in ST; as I am working to some projects myself, I know that the problem is to integrate the right tool. Do you mind keeping me informed about the results you reach? Grazie Lorenzo ----- Original Message ----- From: Gary Chambers<mailto:[hidden email]> To: [hidden email]<mailto:[hidden email]> Sent: Thursday, August 04, 2011 4:20 PM 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<mailto:[hidden email]> To: [hidden email]<mailto:[hidden email]> 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<mailto:[hidden email]> To: [hidden email]<mailto:[hidden email]> 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<mailto:[hidden email]> To: Pharo Development<mailto:[hidden email]> 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 |
In reply to this post by Gary Chambers-4
if you like tesseract ocr, you may like this free online ocr tool using tesseract ocr 3.02
|
Free forum by Nabble | Edit this page |