[IronPython] Hello,

Carl Trachte ctrachte at gmail.com
Fri Nov 13 22:31:16 CET 2009


On 11/13/09, luis bilar <luis.bilar at gmail.com> wrote:
> Hi,
>
> I need implematation this's code in ironpython
>
> from pytesser import*
> image = Image.open('fnord.tf')
> print image_to_string(image)
>
> but need call libary pytesser.
>
> please help me :(

Luis,

OK, you're in the wrong place (on the wrong list).  You need to use
the standard implementation of Python 2.4 from www.python.org.

Good luck.  We can't help you here any more.

Here is the google code link for pytesser:

http://code.google.com/p/pytesser/

PyTesser
PyTesser is an Optical Character Recognition module for Python. It
takes as input an image or image file and outputs a string.
PyTesser uses the Tesseract OCR engine, converting images to an
accepted format and calling the Tesseract executable as an external
script. A Windows executable is provided along with the Python
scripts. The scripts should work in other operating systems as well.
Dependencies
PIL is required to work with images in memory. PyTesser has been
tested with Python 2.4 in Windows XP.
Usage Example
>>> from pytesser import *>>> image = Image.open('fnord.tif')  # Open image object using PIL>>> print image_to_string(image)     # Run tesseract.exe on imagefnord>>> print image_file_to_string('fnord.tif')fnord(more examples in README)

Carl T.

>
> 2009/11/13 Carl Trachte <ctrachte at gmail.com>
>
>> On 11/13/09, luis bilar <luis.bilar at gmail.com> wrote:
>> > Hi
>> > My names is Luis Bilar , I'm from brazil, I have a problem, with I call
>> > libary in ironpython ?
>> >
>> > --
>> > Thanks & Regards,
>> > Luis Bilar
>> > +55 85036522
>> >
>> > System technology internet
>> > Specialist in information security -
>> > Recife Center for Advanced Studies and Systems - CESAR.EDU
>> >
>> > "The information in this e-mail and in its attachment(s) are
>> confidential,
>> > legally protected and intended for specific individual(s) and purposes.
>> If
>> > you are neither the intended recipient nor the person responsible for
>> > delivering the message to the named addressee(s), please notify us
>> > immediately and delete this message without retaining or making any
>> > copy.
>> > Please be aware that any utilization, dissemination, disclosure or
>> > reproduction of this message, as well as any action taken or neglected
>> > in
>> > reliance on it is expressly prohibited."
>> >
>>
>> Luis,
>>
>> Can you provide some code or background?
>>
>> If you're getting started, this is a good site:
>>
>> www.ironpython.info
>>
>> Carl T.
>> _______________________________________________
>> Users mailing list
>> Users at lists.ironpython.com
>> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>>
>
>
>
> --
> Thanks & Regards,
> Luis Bilar
> +55 85036522
>
> System technology internet
> Specialist in information security -
> Recife Center for Advanced Studies and Systems - CESAR.EDU
>
> "The information in this e-mail and in its attachment(s) are confidential,
> legally protected and intended for specific individual(s) and purposes. If
> you are neither the intended recipient nor the person responsible for
> delivering the message to the named addressee(s), please notify us
> immediately and delete this message without retaining or making any copy.
> Please be aware that any utilization, dissemination, disclosure or
> reproduction of this message, as well as any action taken or neglected in
> reliance on it is expressly prohibited."
>



More information about the Ironpython-users mailing list