Handwriting recognizer is very inaccurate when using an input device with high report rate (e.g. gaming mouse)

ghu

Member
I installed Pleco in Waydroid (Android emulator running LineageOS), because most of my learning tools are also on my PC, so it's more convenient to have it there. What I immediately noticed is that the Handwriting recognizer doesn't seem to recognize some common radicals and characters like 人 or 又 properly. I know my handwriting is terrible (don't laugh! I just started learning Chinese) but the point is it does not happen on a phone at all where Pleco always accurately guesses my inputs, regardless how ugly they are.


Any idea what's going on here? Is it a waydroid problem? Or could it be because of the higher screen resolution? Or is it because the apk that can be downloaded from here is older than the play store version?

I will keep trying to play around with the set up and see if something changes but I really am not sure for now.
 

mikelove

皇帝
Staff member
Resolution is the most likely culprit - does it work better if you draw characters really tiny?
 

ghu

Member
I managed to change the display resolution of the virtual device to match the resolution of my phone and also tried to write the characters all kinds of different sizes but I couldn't find any consistency. However I could find an interesting lead: if I lower the polling rate of my mouse from 1000Hz to 125Hz or I use my touchpad to draw on the screen, the recognition works flawlessly.

My guess would be that with high polling rate, the input device picks up even the tiniest tremors in the movement and Pleco detects it as a zig-zag instead of a straight line, dropping the accuracy by a lot.
 

mikelove

皇帝
Staff member
Ah, yes, that would explain it - too many points. (in theory we could fix this on our end with line smoothing, but I don't know if we'd bother unless the problem becomes more widespread)
 
  • Like
Reactions: ghu
Top