Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

comlib by Anton.... thanks!

 [1/8] from: moliad::gmail::com at: 23-Oct-2007 13:30


Hi Anton, just wanted to tell you thanks for the fabulous work you did on the comlib integration (Even if its based on many other people's work, the final bit that makes it usable comes down to you AFAIK :-). I've just downloaded it. In one hour, including probing the dll's documentation I needed, was able to use base64 encoded PNG imagery hidden within a wrapper returned by a COM object, which is implemented as a tree of classes with methods. Simply amazing! Thanks! For those of you who have not yet used it and need access to any system resources or external lib: http://anton.wildit.net.au/rebol/os/windows/COMLib/) Now I'm on the hunt for a competent OCR dll I can feed easy to decode text to... suggestions anyone? -MAx

 [2/8] from: anton::wilddsl::net::au at: 24-Oct-2007 20:35


Hi Max, Well, glad it is of use to you! Thanks for the feedback. Anton. Maxim Olivier-Adlhoch wrote:

 [3/8] from: robert:muench:robertmuench at: 26-Oct-2007 9:48


On Tue, 23 Oct 2007 19:30:18 +0200, Maxim Olivier-Adlhoch <moliad-gmail.com> wrote:
> For those of you who have not yet used it and need access to any system > resources or external lib: > http://anton.wildit.net.au/rebol/os/windows/COMLib/)
Hi Max, any chance to hack together your experience and patterns you now use to make most use of COMLib? I think it's a very good thing and underestimated. Robert

 [4/8] from: robert:muench:robertmuench at: 26-Oct-2007 9:47


On Tue, 23 Oct 2007 19:30:18 +0200, Maxim Olivier-Adlhoch <moliad-gmail.com> wrote:
> Now I'm on the hunt for a competent OCR dll I can feed easy to decode > text to... suggestions anyone?
Hi Max, take a look at http://www.irislink.com/ They have OCR SDKs that are very good. Robert

 [5/8] from: compkarori:gm:ail at: 26-Oct-2007 11:33


Try Tesseract ... On 10/26/07, Robert M. M=FCnch <robert.muench-robertmuench.de> wrote:
> On Tue, 23 Oct 2007 19:30:18 +0200, Maxim Olivier-Adlhoch > <moliad-gmail.com> wrote:
<<quoted lines omitted: 5>>
> To unsubscribe from the list, just send an email to > lists at rebol.com with unsubscribe as the subject.
-- Graham Chiu http://www.synapsedirect.com Synapse-EMR - innovative electronic medical records system

 [6/8] from: greg::schofield::iinet::net::au at: 26-Oct-2007 16:23


Please take a look at this --- OCR wise: http://www.mobileread.com/forums/showthread.php?t=15394 http://arstechnica.com/news.ars/post/20071024-hands-on-with-googles-ocropus-open-source-scanning-software.html http://code.google.com/p/ocropus/ It has an imbedded script langauge, Lua, which I thnk should be no problem communicating with REBOL. But as an OCR engine it looks like it might attract much ongoing development. I have been looking at Sony Reader and Irex Iliad, this is something REBOL needs to take on board as well. Greg Schofield Perth Australia --- Message Received --- From: Robert M. M=FCnch <robert.muench-robertmuench.de> To: rebolist-rebol.com Reply-To: rebolist-rebol.com Date: Fri, 26 Oct 2007 09:47:51 +0200 Subject: [REBOL] Re: comlib by Anton.... thanks! On Tue, 23 Oct 2007 19:30:18 +0200, Maxim Olivier-Adlhoch <moliad-gmail.com> wrote:
> Now I'm on the hunt for a competent OCR dll I can feed easy to decode > text to... suggestions anyone?
Hi Max, take a look at http://www.irislink.com/ They have OCR SDKs that are very good. Robert

 [7/8] from: moliad:gmai:l at: 26-Oct-2007 9:41


Hi Robert, actually, Anton's examples where pretty easy to understand directly. Although they depended on having MS Office installed (which I don't right now). I used it with winGraphViz. here is my test script, the structure is taken from one of Anton's examples. to run: -just download and register wingraphviz ( http://wingraphviz.sourceforge.net/wingraphviz/setup.htm). -get anton's comlib, and save the following in the comlib dir. -just run the script. ;------------------------------------------------------------ rebol [ Title: "graph nodes" File: %graph.r Date: 26-Jun-2006 Version: 1.0.0 Author: "Maxim Olivier-Adlhoch" Purpose: {Integrate winGraphViz with REBOL on windows.} Dependency: {Needs winGraphViz.dll to be installed (i.e. properly registered)} ] ; change path to comlib if its installed elsewhere. COMLib: do %COMLib.r graph: {digraph G { main -> parse -> execute; main -> init; main -> cleanup; execute -> make_string; execute -> printf; init -> make_string; main -> printf; execute -> compare; }} if error? set/any 'error try [ ; catch all errors so comlib/cleanup is always done COMLib/initialize do bind [ ; get lib ptr grObj: CreateObject "Wingraphviz.neato" ; create the Graph as a PNG img img: GetObject reduce [ grObj ".toPNG(%s)" graph ] ; convert the image as a base 64 string img: GetString [ img ".ToBase64String()"] release grObj ] COMLib/api ][ print mold disarm error ] ; decode base 64 and dump png to disk write/binary %winGraphVizImg.png debase/base img 64 view layout [box %winGraphVizImg.png] COMLib/cleanup ;------------------------------------------------------------------------- On 10/26/07, Robert M. Münch <robert.muench-robertmuench.de> wrote:

 [8/8] from: moliad::gmail::com at: 26-Oct-2007 9:49


Thanks everyone for the OCR links... I'll be looking into this eventually :-) its fun stuff. btw, I had started my own little OCR built in REBOL just for fun...although I didn't get to the letter recognition, I have the line detection working (from a multi-line document, it finds each individual line). It even properly finds font topline/midline/baselines within a line of text. Its an interactive tool, which plots over the supplied images any data it detects... This kind of prototyping is so much fun with REBOL. you can do all the work in one language and easy to use setup. From the gui, to the algorythms, to the graphic detection and plotting. NO other language makes it such an integrated and unified experience, especially in such a small form factor. -MAx On 10/26/07, greg.schofield-iinet.net.au <greg.schofield-iinet.net.au> wrote:

Notes
  • Quoted lines have been omitted from some messages.
    View the message alone to see the lines that have been omitted