Re:MLJ.jl: A Julia package for composable machine learning
by doctoboggan on Monday April 12, 2021 @12:00AM
(#26775952)
For a given poor quality print I usually take it on my iPad and retrace either the whole print or just a portion. I usually just use the pencil tool in white and run it between the ridges of the print to give good separation and definition to the final engraving. Depending on the quality of the print (some of them are hardly more defined that a low res ink smudge) I may have to use a good amount of artistic liberties on where I think the pattern was going. Using my knowledge of what a print may look like I can usually do a decent job. Thats why I thought this might be a good task for a ML algorithm since I can show it what a bad print looks like and what a decent cleaned up version of that print should look like.
Re:MLJ.jl: A Julia package for composable machine learning
by doctoboggan on Monday April 12, 2021 @12:26AM
(#26776053)
Wow, this is basically exactly what I needed, thanks! Seems like the key word I was missing in my searches was "inpainting"
Re:MLJ.jl: A Julia package for composable machine learning
by tomrod on Monday April 12, 2021 @05:31PM
(#26785463)
Glad to hear it.
Re:MLJ.jl: A Julia package for composable machine learning
by doctoboggan on Monday April 12, 2021 @08:47PM
(#26786951)
I got their model running with the included training data and it’s quite impressive. Some of my more extreme poor examples don’t produce reasonable results but many do.
Re:MLJ.jl: A Julia package for composable machine learning
by tomrod on Tuesday April 13, 2021 @02:40PM
(#26797032)
That's awesome! Happy scaling!
Re:MLJ.jl: A Julia package for composable machine learning
by tomrod on Monday April 12, 2021 @12:19AM
(#26776021)
So you're denoising by identifying where the patterns should be, but there is some smudge?
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.
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).