by akavel · 8y ago · 0 comments
It would be nice if someone wrote an extension/post-processor applying some OCR to the SVGs, so that plain text could be extracted. I tried to do something like this myself, but failed. What was most annoying was that the SVGs the app writes are actually outlines of the pen strokes, after applying "pen width". As far as I've seen, OCR systems prefer raw strokes as input, ideally with pen pressure information. I don't have enough experience in Machine Learning either to try to build a new model for this use case from scratch.
edit: A sample article draft/experiment I wrote with it:
- as a HTML+SVG: https://akavel.github.io/post/2018-05-31-stylish-elephants/2...
- as a PDF: https://akavel.github.io/post/2018-05-31-stylish-elephants/2...
Also, in case you'd come back to this reply at some point in future: one feature I'd also love (I think I even wrote an email to you about it at the time) would be easy pasting of images into the document, and a "knife" tool, which would allow cutting them to parts along drawn lines. (And then moving and processing them separately.) I don't remember what exact use case I had for this, but I remember missing it badly.
Ah, and there was some problem with not being able to easily paste links into the document purely with stylus, i.e. without reaching for keyboard. I used Write once for writing a journal from a trip, with photos, and I think I might have had to edit the raw HTML/SVG to add links from thumbnails to full photos, or something like this.
https://s3.amazonaws.com/halleonard-pagepreviews/HL_DDS_0000...
...basically be able to slice the above image into various rows, and delete the "numbers" part, but keep + rearrange the "music" part.
Seems like the ability to paste / rotate an image and then add in a "razer-slicer" set perpendicular to page or matching the image rotation: https://www.youtube.com/watch?v=H6SuHTHoRd0&t=1m25s
It's a relatively common operation (even for text, maybe even especially for lined text) giving you the option to write single-space (or double-space) and then magically have extra room to take notes, edit, etc, then later remove those edits.
Actually it'd be very similar to "folding" handwritten documents (in the code-folding sense).