![]() |
#1 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 423
Karma: 1517132
Join Date: Jun 2006
Location: Madrid, Spain
Device: quaderno, remarkable2, yotaphone2, prs950, iliad, onhandpc, newton
|
CellWriter as an alternative to VisionObjects recognition?
Hi!
This is just to bring attection to this program: http://risujin.org/cellwriter/ It's a lot less powerful tha the integrated visionobjects handwriting recognition (it's cell-based), but it can be a reasonable substitute for when we substitute the OS and have to get an alternative working ![]() |
![]() |
![]() |
![]() |
#2 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() Posts: 976
Karma: 687
Join Date: Nov 2007
Device: Dell X51v; iLiad v2
|
It looks like very sweet. This very feature caught my eyes: "can be trained to generate any Unicode character". I will have a try surely. Thanx for the info.
|
![]() |
![]() |
![]() |
#3 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 325
Karma: 1725
Join Date: Dec 2007
Location: Münster, Germany
Device: iRex iLiad v2
|
I tried to port it over a while ago but had no luck (the window didn't want to show up in scratchbox...). It also needs the context menu for some actions (correcting letters etc.), so that would have to be hacked out.
It also has an on-screen keyboard, so this thing could be a complete replacement for the current one ![]() |
![]() |
![]() |
![]() |
#4 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() Posts: 976
Karma: 687
Join Date: Nov 2007
Device: Dell X51v; iLiad v2
|
|
![]() |
![]() |
![]() |
#5 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 325
Karma: 1725
Join Date: Dec 2007
Location: Münster, Germany
Device: iRex iLiad v2
|
I already had that problem inside the scratchbox environment on my PC, not yet on the device itself. But I figured it out now: Just had to add a parameter to open the main window:
Code:
cellwriter --show-window |
![]() |
![]() |
![]() |
#6 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() Posts: 976
Karma: 687
Join Date: Nov 2007
Device: Dell X51v; iLiad v2
|
Then I can sit back to my couch and wait for your test result.
![]() |
![]() |
![]() |
![]() |
#7 |
fruminous edugeek
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,745
Karma: 551260
Join Date: Oct 2006
Location: Northeast US
Device: iPad, eBw 1150
|
Watching with interest....
|
![]() |
![]() |
![]() |
#8 | |
JSR FFD2
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 305
Karma: 1045
Join Date: Aug 2008
Location: Rotterdam, Netherlands, Europe, Sol 3
Device: iliad
|
Quote:
But this requires newer gtk+ than available on the Iliad. Also a newer pango. Also a decent cairo... Has anybody done some serious work on upgrades for those libraries? I have build some of them but a full set will be quite big... |
|
![]() |
![]() |
![]() |
#9 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() Posts: 976
Karma: 687
Join Date: Nov 2007
Device: Dell X51v; iLiad v2
|
Ah, I didn't notice that CellWriter requires newer version GTK+ and Pango. It seems that I must test it on my own.
I am using GTK+2.10 on my iLiad. The fundamental X libs, pango, cairo, glib... are all upgraded, too. I have also compiled GTL+2.12 and 2.14 for iLiad but never used them actually, because 2.10 seems working ok. Yes, the whole set is rather big. So I put all the newer lib in MMC/SD (still lack the courage to replace original libs). I am thinking to put them it /mnt/free, but putting them in MMC/SD makes the maintanence more convenient. As to that serious work, I don't know if they are serious enough, some app packages (fbreader, stardict, ebview, midori, sylpheed, 好讀, imanga, djview4) that I released are compiled to work on GTK+2.10. Last edited by ericshliao; 02-27-2009 at 04:19 AM. |
![]() |
![]() |
![]() |
#10 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() Posts: 976
Karma: 687
Join Date: Nov 2007
Device: Dell X51v; iLiad v2
|
Before I actually try CellWriter, I would like to hear some advice on the issue of screen refreshment. I have thought this problem for some time.
Suppose CellWriter is called when I use ipdf, how can it get screen refreshed? I don't think it's possible. Suppose CellWriter is called when I use some app running on xepdmgr, will xepdmgr also refresh screen for CellWriter? Last edited by ericshliao; 02-27-2009 at 04:33 AM. |
![]() |
![]() |
![]() |
#11 | |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 423
Karma: 1517132
Join Date: Jun 2006
Location: Madrid, Spain
Device: quaderno, remarkable2, yotaphone2, prs950, iliad, onhandpc, newton
|
Quote:
Long answer: Of course, if you use ipdf, it will not get refreshed un less you put the appropiate liberdm calls in it. But if you are using it with some app running on xepdmgr, xepdmgr will refresh it correctly, as for the time being, it doesn't have any exclude regions (I want to incorporate Hansel's code to detect the presence of the readerim window and exclude it, but I haven't had time to hack it; anyway, it would only exclude the readerim window, cellwriter's would be updated). For the ipdf problem, the solution is to have xepdmgr running as a substitude for displayMgr, but I have not had time to look at the issues you found in that scenario. |
|
![]() |
![]() |
![]() |
#12 |
JSR FFD2
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 305
Karma: 1045
Join Date: Aug 2008
Location: Rotterdam, Netherlands, Europe, Sol 3
Device: iliad
|
As is, Xepdmgr will refresh the whole display. It would happen once in a while (say every second), not streaming as for the current keyboard. I think that Cellwriter may work, but in a less less comfortable way than the current thing.
Xepdmgr mus be configured in such way that it does not cause to many redraws: a high cpu load would disturb the drawing... EDIT: Nice to see everyone online and typing ![]() Last edited by hansel; 02-27-2009 at 05:06 AM. |
![]() |
![]() |
![]() |
#13 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() Posts: 976
Karma: 687
Join Date: Nov 2007
Device: Dell X51v; iLiad v2
|
Here is CellWriter for iLiad. I have tested that its GUI is working. The others are left for you people who want to test. I think I have to play with CellWriter on my desktop to learn how to use it.
Note: 1. The attached image is the screen shots I captured via VNC server on iLiad for proof. I only got this far for now. Furthermore test will be done later. 2. There are two attached rar archives. I think only "cellwriter.rar" is needed. Unrar the package and put it in dir "programs" in your SD/MMC (55MB free required), and there will be a dir "cellwriter". Execute cellwriter from conteltlister. I think "lib.rar" should not be needed. 3. Although xepdmgr is included in the package, I does not use it because I added an option "--show-window" suggested by Thomas. Please try if it will work with xepdmgr. Screen refreshment can be obtained by tapping on Page icon on the lower bottom. To people who want to use cellwriter with xepdmgr, please insert the line in "run.sh": Code:
./xepdmgr :0 ./bin/cellwriter --show-window Last edited by ericshliao; 02-27-2009 at 05:18 PM. |
![]() |
![]() |
![]() |
#14 |
JSR FFD2
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 305
Karma: 1045
Join Date: Aug 2008
Location: Rotterdam, Netherlands, Europe, Sol 3
Device: iliad
|
Hi ericshliao,
COOL! nice exploit! a bit of topic, but... can you give some tips about crosscompiling the gtk+ libraries? I've got some of them compiled (glib, cairo, pango), but cannot build gtk+ itself... Thanks. |
![]() |
![]() |
![]() |
#15 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() Posts: 976
Karma: 687
Join Date: Nov 2007
Device: Dell X51v; iLiad v2
|
I am glad to share it. I guess why I can port newer GTK+ is because I built whole X from scratch. I also have a GCC3.4.4 built by crosstool. So, everything I have in my ScratchBox environment is different from the common vmware image.
Since you have compiled atk, pango, cairo..., you should be near the goal. I don't know if the above words work for you. I didn't add any fancy config when I compiled GTK+. I just do "./configure", "make", and "make install". Last edited by ericshliao; 02-27-2009 at 07:49 AM. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Using handwriting recognition ON iliad | gono | iRex | 0 | 11-11-2009 05:44 AM |
Please try this procedure for recognition | Robertb | Astak EZReader | 5 | 09-22-2009 09:58 AM |
Reader recognition | nobicus | Calibre | 3 | 09-05-2009 12:00 PM |
Unutterably Silly The alternative alternative Friday Question 21 August 2009 | Wetdogeared | Lounge | 13 | 08-26-2009 09:47 AM |
iLiad CellWriter? | wallcraft | iRex Developer's Corner | 2 | 01-29-2008 11:22 PM |