rmapi icon indicating copy to clipboard operation
rmapi copied to clipboard

add hwr (handwriting recognition)

Open ddvk opened this issue 4 years ago • 3 comments

i've played with the myScript api and i think i could add support for it (generation of plain text, svg or latex and math equation recognition).

they are offering 2000 free api calls, so if one wants to use they should register and provide their api keys vie e.g. environment variables.

it could be an additional param or a separate executable, as it only need the .zip file with the content.

Is there any interest?

ddvk avatar Jul 01 '20 10:07 ddvk

I think this would be a very nice thing! However for the math support I suppose (at least with my handwriting) that it's much faster to tex those equations (if you are a bit experienced with latex) then the whole process of conversion and correction. I tested the demo at https://webdemo.myscript.com/views/math/index.html and it seems that it has some problems.

Screenshot 2020-07-01 at 13 00 49 This should correspond to:

\begin{equation}
  \frac{\partial \rho}{\partial t}+ \frac{\partial}{\partial x} \left(\rho v \right) = 0
\end{equation}

Screenshot 2020-07-01 at 12 58 29 This should correspond to:

\begin{equation}
  \Omega_\mathrm{K} = \sqrt{\frac{GM}{a^3}}
\end{equation}

AaronDavidSchneider avatar Jul 01 '20 11:07 AaronDavidSchneider

here is working prototype: https://github.com/ddvk/rmapi-hwr

i'll integrate it when/if i clean the code

ddvk avatar Jul 01 '20 14:07 ddvk

Agreed, I think this'd be a really cool feature! As this'd be an opt-in thing, I don't see any harm in giving it a go.

juruen avatar Jul 06 '20 10:07 juruen