Tag Info

New answers tagged


Slightly improved version of the code in the question: #!/bin/bash mkdir -p "blanks" for i in "$@"; do echo "${i}" if [[ -e $(dirname "$i")/.$(basename "$i") ]]; then echo " protected." continue fi histogram=$(convert "${i}" -threshold 50% -format %c histogram:info:-) #echo $histogram white=$(echo "${histogram}" ...


The software prostprocessing function you are looking for is called image segmentation. At least under Linux, I don't know a proper solution so far. (There is the proof-of-concept segment_image script based on ImageMagick though – see also.) When you freely place your photos on the scanner, you would need automatic segmentation and deskewing, and both seem ...

Top 50 recent answers are included