Page 1 of 1

improving cleaning script

Posted: 2020-02-02T08:44:02-07:00
by bvsp
I found a whiteboard cleaning script which works well enough.

This is the script:

Code: Select all

#!/bin/bash
convert "$1" -morphology Convolve DoG:15,100,0 -negate -normalize -blur 0x1 -channel RBG -level 60%,91%,0.1 "$2"
Original image: https://imgur.com/a/yrbnPnJ

This is the output (left is input, right is output): https://imgur.com/a/1nzuhTd

Note how the last word 'TOUCHSCREEN' is more legible before processing. On the image processed the "E" in "TOUCHSCREEN" is not that crisp.
Can the processing be improved?

Re: improving cleaning script

Posted: 2020-03-11T21:55:16-07:00
by fmw42
Perhaps you might be interested in my whiteboard script at my link below. It does require a Unix-like platform to run.