News for hackers. Stuff that matters.
Re:Compressing and enhancing hand-written notes (2016) by RicoElectrico on Monday April 12, 2021 @05:38AM (#26777525)
When I was a student I often had to deal with photos of pages taken with a smartphone. To compensate for uneven illumination I used the following trick: open image in GIMP, duplicate the layer, Gaussian blur, then set blending mode to Divide.

This made photos much more legible and printable.

Re:Compressing and enhancing hand-written notes (2016) by Syzygies on Monday April 12, 2021 @12:08PM (#26781059)
Yes. Pandemic professor here, often grading take-home exams. The hardest to look at have uneven illumination, making removing the background dependent on position.

I've thought often of writing something like this code.

For my own writing I've moved to an iPad and an Apple Pencil. Concepts has become my favorite app for algorithmic drawing, though it's not without frustrations. I found it necessary to script converting an infinite canvas to PDF pages: https://github.com/Syzygies/concepts-artboards

Ideally, one wants to write scripts for cleaning up hand drawn notes in an efficient language, and let it run overnight. Better background detection is the tip of the iceberg; one wants to employ machine learning algorithms to infer what you would have drawn with better motor control. This could then be used to translate computer-generated animation into hand-drawn animation, exactly as if there were a thousand of you working for Disney in the time of Fantasia.

Re:Compressing and enhancing hand-written notes (2016) by gjvnq on Monday April 12, 2021 @07:38AM (#26778238)
That sounds very useful.