#73554 - carmex - Sun Feb 26, 2006 5:22 pm
Hey guys, I've been working on a little handwriting recognition project. I saw several mentions of JMerlin on these forums and I decided to just port XMerlin to the DS. It seems to work really well and I've put together a little demo using the code. I haven't released the source yet (wanna do a little cleanup first) but I have the rom available if anyone wants to play with it. It does work in Dualis but seems to work much better on actual hardware. Details can be found on my website: http://ds.crmx.us. Let me know what you think.
#73559 - Mollusk - Sun Feb 26, 2006 5:41 pm
Seems to work ok, but takes a long time to detect the letter :s
_________________
PAlib official forum : http://www.palib.info
PAlib official tutorials: http://www.palib.info/wiki
Updates, help, code examples, tutorials, etc...
#73563 - carmex - Sun Feb 26, 2006 6:17 pm
Did you try in hardware or the emulator? As I noted on the website, detection seems to be slow on some letters in the emulator. These problems don't exist on the hardware as far as I have seen.
#73573 - HtheB - Sun Feb 26, 2006 8:07 pm
I thouht the dsorganiser has this function too
#73612 - carmex - Sun Feb 26, 2006 10:55 pm
Yeah it appears it does. Guess it never hurts to have an alternative, right? :)
I haven't been able to try out DSOrganize yet, but it appears the gestures for the letters might be a little unnatural to use. The gestures DSMerlin uses are based loosely on Palm's graffiti so hopefully a lot of people will be able to pick them up quickly. I added a list of the gestures to the webpage.
#73648 - Sektor - Mon Feb 27, 2006 5:36 am
It works great on hardware, can't wait for source.
_________________
GTAMP.com/DS
#73695 - Roc - Mon Feb 27, 2006 3:30 pm
Works well on my DS too. One thing though - It seems to mistake an 'e' for a 'z' most of the time for me. Maybe it's just the way I draw 'e's...
#73703 - caitsith2 - Mon Feb 27, 2006 4:53 pm
Could you please build an nds version, that is meant for hardware? Some of us here use loaders that are designed for nds files, rather than ds.gba files. (specifically most of us using GBAMP/M3/Super Card.)
Other than that, this handwriting recognition is far better and easier to learn than the one in DSorganize. Only a few letters have given me trouble, but I managed to figure them out enough that I wouldn't mind having this handwriting recognition code in DSorganize.
#73706 - carmex - Mon Feb 27, 2006 5:38 pm
Hey, thanks for all the feedback. The source code has now been posted, along with an nds version built for hardware as you requested caitsith2. I removed the version with the loader; everyone can figure out what loader to use for themselves.
Roc, you're right, drawing a lowercase 'e' often results in recognizing a 'z'. Not sure why that is, I might need to tweak the sample pattern used for lowercase e. I've had much better luck drawing the uppercase E as is the standard way to do it on Palm's Graffiti. Both methods SHOULD work, however, so I will look into fixing that.
#73736 - carmex - Mon Feb 27, 2006 11:16 pm
I too am using an M3, but I didn't know about the powerON(POWER_ALL_2D); until today, so I had been using a loader to get my rom to boot. After adding that line, my nds file boots directly from my M3 with no loader, but I've noticed a problem. The touchscreen doesn't seem to work (or maybe the app freezes, I don't know which). If I run the ds.gba file, however, the app runs just fine. Both of these are built at the same time by my makefile and I don't really know much about the difference. Does anyone know what the problem might be? Btw, I've updated the zips on my website to reflect these changes.
#73748 - waruwaru - Tue Feb 28, 2006 12:18 am
carmex wrote: |
I too am using an M3, but I didn't know about the powerON(POWER_ALL_2D); until today, so I had been using a loader to get my rom to boot. |
If an .NDS gives you the blank screen after you press A to load it. Try to run it by selecting from menu and press START instead.
_________________
DSLua - a scripting language for your DS!
#73816 - The 9th Sage - Tue Feb 28, 2006 6:02 am
carmex wrote: |
I too am using an M3, but I didn't know about the powerON(POWER_ALL_2D); until today, so I had been using a loader to get my rom to boot. After adding that line, my nds file boots directly from my M3 with no loader, but I've noticed a problem. The touchscreen doesn't seem to work (or maybe the app freezes, I don't know which). If I run the ds.gba file, however, the app runs just fine. Both of these are built at the same time by my makefile and I don't really know much about the difference. Does anyone know what the problem might be? Btw, I've updated the zips on my website to reflect these changes. |
The loader in on the ds.gba file is probably setting something up differently. I've had that occasionally with other homebrew...adding this loader on fixed it.
_________________
Now with 20% More Old Man from Zelda 1 than ever before!
#74780 - carmex - Tue Mar 07, 2006 4:57 pm
DSMerlin 0.2 has been released. As always, download it at http://ds.crmx.us/dsmerlin/.
Here is the changelog:
version 0.2:
Library changes:
* To improve recognition accuracy, multiple gestures for each character have been removed. There is now only 1 way to draw each character. Gestures also more closely match the Graffiti style.
* Numeric characters 0-9 are now recognized.
* Gestures have been added for space, backspace and return.
DSMerlin demo changes:
* The touchscreen is now divided; the left side is for alpha input, the right side for numeric input.
* Included a help screen which shows how to draw each supported character. Access this screen by pressing the 'A' button (remember this is mapped to X on your keyboard in Dualis).
#74785 - RVK - Tue Mar 07, 2006 6:12 pm
Works Great!
#75019 - carmex - Thu Mar 09, 2006 3:16 pm
I'm curious, has anyone been able to try out the demo on Supercard hardware? I received some feedback indicating it might not be working on SC but I don't have one I can test with. Specifically, the request was:
Quote: |
I'd like to see it working for SUPERCARD SD too.. with
the use of CHISM SD fat drivers...
I hope you could try to include these dirvers in your
next release... |
I don't know anything about these drivers, but I don't really see why it would need access to the SD card in order to work...
#75021 - RVK - Thu Mar 09, 2006 3:38 pm
SCSD here. works fine
#75028 - Sektor - Thu Mar 09, 2006 5:21 pm
Maybe he got confused and thought you made PoffPad.
_________________
GTAMP.com/DS