[1] https://docs.opencv.org/master/d2/d0b/tutorial_periodic_nois...
If you can automate it using a combination of Gimp filters + Inkscape, you probably can do it pretty easily convert that process into code.
Step 1: write out the steps you do to manually clean up.
Step 2: Depending on: (1) how many samples you have, (2) what is defined as "before" and "after", (3) what performance level is acceptable, there are many algorithms to choose from. Transform learning may be the target, reinforcement learning or CNN as well. It really depends on Step (1) and (2.1).
If so, you may be able to skip ML altogether and use a deterministic software program to classify light versus dark areas (what you're doing with your pencil). ML might help with mapping smudges to the right shape/sizing.
That said, if you have a ton of examples, then yeah an image recognition task might help.
GAN's are hard to train for a new ML practitioner, VAE can have blurry results if you are not using skip-connections like in U-NET.
It sounds like you have training examples (images pre and post processing), but would benefit from an approach using transfer learning since you don't have that many.
Good luck!
I’d love to train a ML algorithm to do this, and I’ve been building up the before and after pictures over time using my manually cleaned up customer fingerprint images. Can anyone give me suggestions or pointers on the sort of algorithm that may be best suited for this task? Just something to get me started down the correct path would be very helpful.