Change white threshold to 99.8

This commit is contained in:
Raman Gupta 2018-11-01 12:19:19 -04:00
parent 111a8e7572
commit be6eb44b5d

View File

@ -59,7 +59,7 @@ process_page() {
log "$IMAGE_PATH has $PERCENTAGE_WHITE % white" log "$IMAGE_PATH has $PERCENTAGE_WHITE % white"
PP_PREFIX= PP_PREFIX=
if (( $(echo "$PERCENTAGE_WHITE < 99.99" |bc -l) )); then if (( $(echo "$PERCENTAGE_WHITE < 99.8" |bc -l) )); then
if [ $UNPAPER -eq 1 ]; then if [ $UNPAPER -eq 1 ]; then
log "Applying unpaper post-processing to image data..." log "Applying unpaper post-processing to image data..."
PP_PREFIX="unpaper-" PP_PREFIX="unpaper-"