News for hackers. Stuff that matters.
Re:Convert paper-based notes to HTML content with Google Vis... by radarsat1 on Saturday July 25, 2020 @12:30PM (#23950442)
This is a great idea and wouldn't be too hard to port to a local solution, e.g. using Tesseract or similar. The idea of tuning your handwriting and using a markup language designed to be easily written by hand to make it easier to do the OCR, instead of trying to be perfectly general, is actually a great idea.

I can imagine one necessary enhancement (I would find it necessary anyway) would be to support crossing-through words with a line to "erase" them.

Re:Convert paper-based notes to HTML content with Google Vis... by nojvek on Saturday July 25, 2020 @03:34PM (#23951762)
Google Vision API is eons ahead of tessaract in its OCR capabilities. I was quite impressed how good it was when trying to read ID numbers from scans.
Re:Convert paper-based notes to HTML content with Google Vis... by radarsat1 on Sunday July 26, 2020 @09:20AM (#23956867)
I guess my point is that this project is interesting because it doesn't depend so strongly on the OCR being perfect, as he's allowing to prescribe a handwriting style that helps it along. I just think it's a nice compromise, and something that I hadn't thought of previously.

Obviously the tech can always be improved, but I find this to be a secondary concern. Ideas can still be cool without worrying about implementation details. For instance, if the PoC works well enough, but you want better performance, then you can train a new OCR system specifically for it. You can break the project down into pieces, where each piece is an interesting challenge. Meanwhile getting 80% performance out of an existing solution allows you to build up a dataset to be used for improving it.

Re:Convert paper-based notes to HTML content with Google Vis... by jcun4128 on Saturday July 25, 2020 @04:47PM (#23952267)
Ha I was going to say, I was trying to read receipts and Tesseract was having problems, those are machine-printed not hand written. Granted supposed to clean up/up contrast/etc... but yeah. Scanning a screenshot of a website though accuracy is almost 100% every time eg. just black/white text.
Re:Convert paper-based notes to HTML content with Google Vis... by dr_zoidberg on Saturday July 25, 2020 @08:04PM (#23953318)
It's usually better to segment the text on the image (and twek the perspective if necessary) to help tesseract extract the text. All the "easy" preprocessing that can be done beforehand helps a lot. I understand that Google Vision Services doesn't need these kind of adjustments (or maybe they do them automatically?), which makes for an easier time/less code, but setting up the account sure looks like a lot of work from the article!
Re:Convert paper-based notes to HTML content with Google Vis... by jcun4128 on Saturday July 25, 2020 @11:00PM (#23954067)
That's a good tip about the segmenting text, will have to keep that in mind next time.

I like the local aspect, one project I have in mind is a hand writing to printed letters for note taking/tablets. Not a new concept I think one drive has it, but it would be neat to train it on your own writing.

Why not Zoidberg

Re:Convert paper-based notes to HTML content with Google Vis... by dr_zoidberg on Saturday July 25, 2020 @11:48PM (#23954285)
If you want to train your own net for handwritten letters, you can start with EMNIST[0] and then move on from there.

[0] https://www.nist.gov/itl/products-and-services/emnist-datase...

Re:Convert paper-based notes to HTML content with Google Vis... by jcun4128 on Sunday July 26, 2020 @01:32AM (#23954681)
Thanks, yeah it's an ambitious project. It's cool but has no real gain immediately. Maybe if I was a student/used a tablet everyday.