--
You received this message because you are subscribed to the Google Groups "Tegaki Handwriting Recognition Project" group.
To post to this group, send email to tegak...@googlegroups.com.
To unsubscribe from this group, send email to tegaki-hwr+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/tegaki-hwr?hl=en.
Strangely this version of tegaki-recognize doesn't find the model I have installed in my user directory. I also noticed that I launch it I get the error 'Xlib: extension "RANDR" missing on display "/tmp/launch-OSU3aP/:0"'.
I'll have to look at this more later, but I'm glad that the build is (most) working.
On Dec 9, 2009, at 3:00 PM, Mathieu Blondel wrote:
> No luck with macports?
The only important thing is to run the python interpreter from
macports (the one in /opt) so that pygtk from macports can be found.
tegaki-recognize can be run directly from
tegaki-recognize/bin/tegaki-recognize in your copy of the git repo and
you can add tegaki-python/ and tegaki-pygtk/ to PYTHONPATH. For
example, you can add the following in a file "tegakidev.sh":
#!/bin/sh
tegakiroot=/path/to/gitrepo/hwr
PYTHONPATH=$tegakiroot/tegaki-python:$tegakiroot/tegaki-pygtk
$tegakiroot/tegaki-recognize/bin/tegaki-recognize
> Strangely this version of tegaki-recognize doesn't find the model I have installed in my user directory. I also noticed that I launch it I get the error 'Xlib: extension "RANDR" missing on display "/tmp/launch-OSU3aP/:0"'.
I get this warning too. Doesn't seem very important though. Maybe this
can be fixed by setting the DISPLAY environment variable
appropriately.
> I'll have to look at this more later, but I'm glad that the build is (most) working.
Glad that it is (mostly) working ;-)
If you're still up to contribute a cocoa UI, create a new directory
(e.g. tegaki-pyobjc) to put the reusable components and then
tegaki-recognize can be modified to use tegaki-pyobjc on OS X and
tegaki-pygtk elsewhere. To start simple, I would try to port the
simple recognizer UI (tegaki-recognize --simple) first.
Mathieu