Compressing and enhancing hand-written notes

I wrote a program to clean up scans of handwritten notes while simultaneously reducing file size. Some of my classes don’t have an assigned textbook. For these, I like to appoint weekly ‘student scribes’ to share their lecture notes with the rest of the class, so that there’s some kind written resource for students to double-check their understanding of the material. The notes get posted to a course website as PDFs. At school we have a ‘smart’ copier capable of scanning to PDF, but the documents it produces are less than attractive.”