Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Ink2Text handwriting recognition announcement

  1. #1
    Join Date
    Jan 2006
    Location
    Perth, Australia
    Beans
    100
    Distro
    Xubuntu 10.04 Lucid Lynx

    Smile Ink2Text handwriting recognition announcement

    Hi,

    I am releasing a new project to provide handwriting recognition service on Linux/Unix computers, named Ink2Text.

    This provides a shared library which can receive a stream of points representing handwriting on a tablet and returns what is written as text.

    The idea is that any program can be enabled for hand-written input.

    Unlike my first solution, this system does not require any copies of Windows - it only requires WINE (tested with v1.2 on Lucid 10.04 LTS) and some packages installed, and is much easier to set up. The details are in the included file named INSTALL.

    At this time, you will also need to install my Stylus/Handwriting Input Panel project, which I have upgraded to use the new recognition system.

    Together this provides printed and cursive handwriting input for tablet computers.

    Please try it and help me iron out any bugs in the install process. Then start bugging the Gnome & KDE people to tablet-enable their UI components.

    Please use the sourceforge project forums for support questions so others may benefit from the information.

    Cheers,
    bcw

  2. #2
    Join Date
    Nov 2009
    Location
    Italy, lake of Como
    Beans
    55
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Ink2Text handwriting recognition announcement

    This is great!! i can't wait to try it out!! I've been waiting a vey long time for something like your project to show up! Man you're great!
    If you want to translate the program in italian i can offer my help!

  3. #3
    Join Date
    Jan 2006
    Location
    Perth, Australia
    Beans
    100
    Distro
    Xubuntu 10.04 Lucid Lynx

    Re: Ink2Text handwriting recognition announcement

    Hi,

    Your help will be useful.

    The Ink2Text server has only a few error messages, so there is no particular translation needed - the idea is you should never see any.

    The Stylus/Handwriting Input Panel allows creation of keyboards with any characters Unicode fonts allow, and you may find you want to add some characters or change the layout.

    But there may be another problem with the Ink2Text approach. With my first solution, which involved a server running in an actual full copy of Windows XP Tablet, you could set the Windows environment to a language and the recognizer would switch (Italian is provided along with several others).

    With the Ink2Text server running on WINE, I don't know how to set another keyboard/language - and the outupt appears to simply not know about characters outside of the default (US English). I speak some Spanish, and I am finding '?' characters being substituted for some of the non-English alphabet characters.

    If you are using your Linux desktop set to other than US English, please try and let me know if the proper characters are reported back. This will give me some idea of what to do about getting the system to use other recognition languages now it's running in WINE instead of Windows.

    Cheers,
    Bret

  4. #4
    Join Date
    Dec 2005
    Location
    Western Australia
    Beans
    11,480
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Ink2Text handwriting recognition announcement

    Why does it use Wine?
    I try to treat the cause, not the symptom. I avoid the terminal in instructions, unless it's easier or necessary. My instructions will work within the Ubuntu system, instead of breaking or subverting it. Those are the three guarantees to the helpee.

  5. #5
    Join Date
    Aug 2009
    Location
    India
    Beans
    63
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Ink2Text handwriting recognition announcement

    Dear Bret,

    Thank you for your time and effort. I am trying to use your Ink2Text software.

    Installed ship client. Also followed your instructions to install Ink2Text software.
    In the instructions to install Ink2Text software just before the command
    Code:
    sh winetricks dotnet20
    I ran the following command to download winetricks.
    Code:
    wget http://kegel.com/wine/winetricks
    Installation went smoothly. Started a dedicated shell to run the 2 commands
    Code:
    export WINEPREFIX=$HOME/.wine-Ink2Text
    wine /usr/local/bin/RecognitionServer.exe 8888
    In a different terminal ran the command
    Code:
    Ink2TextUtility
    The result was just as you predicted. Now I ran the commands

    Code:
    cd ~/ship/client
    java  -Djna.library.path=/usr/local/lib -Dswing.aatext=true -jar SHIP_Ink2Text_v1.1.0.jar ship.properties
    I have installed the ship client in my $HOME directory. The starting msg I get is

    Code:
    Passed new Ink2Text()
    Ink2Text Library not found: jnidispatch (/com/sun/jna/linux-i386/libjnidispatch.so) not found in resource path
    InkServerURL is http://192.168.56.251/TabletPC/MSInkService.rem
    Using xmlrpc client:  org.apache.xmlrpc.client.XmlRpcClient@743399
    Notice that it cannot find the Ink2Text Library. However, the dedicated shell is still running.

    I then opened gedit and wrote something with my stylus in the ship input panel, and pressed the "Send" key. After a while I got a whole list of error msg. The last line was

    Code:
    org.apache.xmlrpc.XmlRpcException: Failed to read server's response: Connection timed out
    Am I missing something? I would really love to make this thing work. BTW I am using Ubuntu 10.04.

  6. #6
    Join Date
    Aug 2009
    Location
    India
    Beans
    63
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Ink2Text handwriting recognition announcement

    Hi Bret,

    Solved the problem .
    Had to install the package libjna-java
    Code:
    sudo apt-get install libjna-java
    Copied the ship folder to /usr/local/share/
    My ship-client.sh script at present is as follows:

    Code:
    #!/bin/bash
    
    InstallDir=/usr/local/share/ship/client
    JarFile=SHIP_Ink2Text_v1.1.0.jar
    
    cd "$InstallDir"
    java -Djava.library.path=/usr/lib/jni -Dswing.aatext=true -jar "$JarFile" ship.properties
    Notice the java library path has been changed. Also the thing that worked was
    "-Djava.library.path" not "-Djna.library.path". My guess it's a typo in your "ship" shellscript.

    One question: When I start the ship client, it always opens to keyboard. Is there a way to directly open it to ink input?

    Will try the ship client again extensively, once I get back home.

  7. #7
    Join Date
    Jan 2006
    Location
    Perth, Australia
    Beans
    100
    Distro
    Xubuntu 10.04 Lucid Lynx

    Re: Ink2Text handwriting recognition announcement

    Hello,

    I'm glad you found the solution.

    In the future, please put help requests in the Help forum on the sourceforge site. That way everyone can benefit from the answers. You would have read this solution there, although you would have needed to follow the thread to the end.

    It is too much work for me to follow requests and duplicate the answers in two (or more) places - there is only one of me. So please help me out by posting there.

    I installed the S/HIP in my home folder, and my script to start it is:
    Code:
    #/bin/sh
    
    cd ~/ship/client
    java  -Djna.library.path=/usr/local/lib -Dswing.aatext=true -jar SHIP_Ink2Text_v1.1.0.jar ship.properties
    -Djna.library.path
    works fine for me.

    I think a re-compile would be required to present the ink field at start-up. In the original system, not everyone could use the recognition, so starting with the keyboard, which everyone can use, seemed best. I may be re-writing the S/HIP as components using Spring as part of my next Big Idea, but that won't happen in the next two months.

    In case you haven't read the S/HIP manual, you will need the XVkbd program installed to transfer the letters to the target window. If you do have further problems, please read through the (small) Help forum on the sourceforge site, and open a thread there if you can't find the solution.

    Cheers,
    Bret

  8. #8
    Join Date
    Apr 2010
    Beans
    30

    Re: Ink2Text handwriting recognition announcement

    hi this has been Working nice for Me ( I have written this with My tablet as a Matter of fact)

    however i is there possibility for greek character recognition?

  9. #9
    Join Date
    Jun 2010
    Location
    Kuwait
    Beans
    56
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: Ink2Text handwriting recognition announcement

    does anyone know of handwriting recognition supporting Arabic text?

  10. #10
    Join Date
    Oct 2011
    Beans
    1

    Re: Ink2Text handwriting recognition announcement

    Hi.
    First time round everything worked but I got the ship focus freeze.
    A reboot later:

    steve@steve-ThinkPad-X61-Tablet:~$ wine /usr/local/bin/RecognitionServer.exe 8888
    RecognitionServer - Run as a server on port: 8888
    fixme:atl:AtlModuleInit SEMI-STUB (0x49b97000 0x49b97ae8 0x49a90000)
    * Assertion at marshal.c:5412, condition `mtype != NULL' not met


    ?? any ideas?

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •