On Wed, Nov 09, 2016 at 05:14:01PM +0100, Antoine Jacoutot wrote: > New diff.
Nice, thanks! It's strange I get failure for all F* and G* tests. j. ~~~ =================================== unpaper 6.1: ./test-suite.log =================================== # TOTAL: 19 # PASS: 13 # SKIP: 0 # XFAIL: 1 # FAIL: 5 # XPASS: 0 # ERROR: 0 .. contents:: :depth: 2 FAIL: tests/runtestF1.sh ======================== [F1] Merging 2-page layout into single output page (with input and output wildcard). + rm -f tests/resultsF11.pbm + ./unpaper --end-sheet 1 -v --layout double --input-pages 2 ./tests/imgsrcE%03d.png tests/resultsF1%d.pbm [image2 @ 0x1467617a6800] Encoder did not produce proper pts, making some up. unpaper 6.1 License GPLv2: GNU GPL version 2. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. ------------------------------------------------------------------------------- Processing sheet #1: ./tests/imgsrcE001.png, ./tests/imgsrcE002.png -> tests/resultsF11.pbm input-files for sheet 1: ./tests/imgsrcE001.png, ./tests/imgsrcE002.png output-file for sheet 1: tests/resultsF11.pbm sheet size: 7014x2480 ... noise-filter ... deleted 345 clusters. blur-filter... deleted 0 pixels. auto-masking (1753,1240): 0,0,3506,2479 (invalid detection, using full page size) auto-masking (5261,1240): 3508,0,7014,2479 (invalid detection, using full page size) gray-filter... deleted 24840220 pixels. auto-masking (1753,1240): 0,0,3506,2479 (invalid detection, using full page size) auto-masking (5261,1240): 3508,0,7014,2479 (invalid detection, using full page size) detected rotation left: [0,0,3506,2479]: 0.013963 detected rotation right: [0,0,3506,2479]: -0.045379 rotation average: -0.015708 deviation: 0.041961 rotation-scan-deviation (maximum): 0.017453 [0,0,3506,2479] out of deviation range - NO ROTATING rotate (1753,1240): 0.000000 detected rotation left: [3508,0,7014,2479]: 0.013963 detected rotation right: [3508,0,7014,2479]: -0.045379 rotation average: -0.015708 deviation: 0.041961 rotation-scan-deviation (maximum): 0.017453 [3508,0,7014,2479] out of deviation range - NO ROTATING rotate (5261,1240): 0.000000 auto-masking (1753,1240): 0,0,3506,2479 (invalid detection, using full page size) auto-masking (5261,1240): 3508,0,7014,2479 (invalid detection, using full page size) centering mask [0,0,3506,2479] (1753,1240): 0, 0 centering mask [3508,0,7014,2479] (5261,1240): 0, 0 - NO CENTERING (would shift area outside visible image) border detected: (0,110,3507,71) in [0,0,3507,2479] border detected: (3507,110,1,71) in [3507,0,7013,2479] aligning mask [0,110,3506,2408] (0,90): 0, -20 aligning mask [3507,110,7012,2408] (3507,90): 0, -20 writing output. + [ -f tests/resultsF11.pbm ] + md5sum -c - + << EOF tests/resultsF11.pbm: FAILED md5sum: WARNING: 1 computed checksum did NOT match FAIL: tests/runtestF2.sh ======================== [F2] Merging 2-page layout into single output page (with output wildcard only). + rm -f tests/resultsF21.pbm + ./unpaper -v --layout double --input-pages 2 ./tests/imgsrcE001.png ./tests/imgsrcE002.png tests/resultsF2%d.pbm [image2 @ 0x1166a8bba000] Encoder did not produce proper pts, making some up. unpaper 6.1 License GPLv2: GNU GPL version 2. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. ------------------------------------------------------------------------------- Processing sheet #1: ./tests/imgsrcE001.png, ./tests/imgsrcE002.png -> tests/resultsF21.pbm input-files for sheet 1: ./tests/imgsrcE001.png, ./tests/imgsrcE002.png output-file for sheet 1: tests/resultsF21.pbm sheet size: 7014x2480 ... noise-filter ... deleted 345 clusters. blur-filter... deleted 0 pixels. auto-masking (1753,1240): 0,0,3506,2479 (invalid detection, using full page size) auto-masking (5261,1240): 3508,0,7014,2479 (invalid detection, using full page size) gray-filter... deleted 24840220 pixels. auto-masking (1753,1240): 0,0,3506,2479 (invalid detection, using full page size) auto-masking (5261,1240): 3508,0,7014,2479 (invalid detection, using full page size) detected rotation left: [0,0,3506,2479]: 0.013963 detected rotation right: [0,0,3506,2479]: -0.045379 rotation average: -0.015708 deviation: 0.041961 rotation-scan-deviation (maximum): 0.017453 [0,0,3506,2479] out of deviation range - NO ROTATING rotate (1753,1240): 0.000000 detected rotation left: [3508,0,7014,2479]: 0.013963 detected rotation right: [3508,0,7014,2479]: -0.045379 rotation average: -0.015708 deviation: 0.041961 rotation-scan-deviation (maximum): 0.017453 [3508,0,7014,2479] out of deviation range - NO ROTATING rotate (5261,1240): 0.000000 auto-masking (1753,1240): 0,0,3506,2479 (invalid detection, using full page size) auto-masking (5261,1240): 3508,0,7014,2479 (invalid detection, using full page size) centering mask [0,0,3506,2479] (1753,1240): 0, 0 centering mask [3508,0,7014,2479] (5261,1240): 0, 0 - NO CENTERING (would shift area outside visible image) border detected: (0,110,3507,71) in [0,0,3507,2479] border detected: (3507,110,1,71) in [3507,0,7013,2479] aligning mask [0,110,3506,2408] (0,90): 0, -20 aligning mask [3507,110,7012,2408] (3507,90): 0, -20 writing output. + [ -f tests/resultsF21.pbm ] + md5sum -c - + << EOF tests/resultsF21.pbm: FAILED md5sum: WARNING: 1 computed checksum did NOT match FAIL: tests/runtestF3.sh ======================== [F3] Merging 2-page layout into single output page (with explicit input and output). + rm -f tests/resultsF3.pbm + ./unpaper -v --layout double --input-pages 2 ./tests/imgsrcE001.png ./tests/imgsrcE002.png tests/resultsF3.pbm [image2 @ 0x1c0833843000] Encoder did not produce proper pts, making some up. unpaper 6.1 License GPLv2: GNU GPL version 2. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. ------------------------------------------------------------------------------- Processing sheet #1: ./tests/imgsrcE001.png, ./tests/imgsrcE002.png -> tests/resultsF3.pbm input-files for sheet 1: ./tests/imgsrcE001.png, ./tests/imgsrcE002.png output-file for sheet 1: tests/resultsF3.pbm sheet size: 7014x2480 ... noise-filter ... deleted 345 clusters. blur-filter... deleted 0 pixels. auto-masking (1753,1240): 0,0,3506,2479 (invalid detection, using full page size) auto-masking (5261,1240): 3508,0,7014,2479 (invalid detection, using full page size) gray-filter... deleted 24840220 pixels. auto-masking (1753,1240): 0,0,3506,2479 (invalid detection, using full page size) auto-masking (5261,1240): 3508,0,7014,2479 (invalid detection, using full page size) detected rotation left: [0,0,3506,2479]: 0.013963 detected rotation right: [0,0,3506,2479]: -0.045379 rotation average: -0.015708 deviation: 0.041961 rotation-scan-deviation (maximum): 0.017453 [0,0,3506,2479] out of deviation range - NO ROTATING rotate (1753,1240): 0.000000 detected rotation left: [3508,0,7014,2479]: 0.013963 detected rotation right: [3508,0,7014,2479]: -0.045379 rotation average: -0.015708 deviation: 0.041961 rotation-scan-deviation (maximum): 0.017453 [3508,0,7014,2479] out of deviation range - NO ROTATING rotate (5261,1240): 0.000000 auto-masking (1753,1240): 0,0,3506,2479 (invalid detection, using full page size) auto-masking (5261,1240): 3508,0,7014,2479 (invalid detection, using full page size) centering mask [0,0,3506,2479] (1753,1240): 0, 0 centering mask [3508,0,7014,2479] (5261,1240): 0, 0 - NO CENTERING (would shift area outside visible image) border detected: (0,110,3507,71) in [0,0,3507,2479] border detected: (3507,110,1,71) in [3507,0,7013,2479] aligning mask [0,110,3506,2408] (0,90): 0, -20 aligning mask [3507,110,7012,2408] (3507,90): 0, -20 writing output. + [ -f tests/resultsF3.pbm ] + md5sum -c - + << EOF tests/resultsF3.pbm: FAILED md5sum: WARNING: 1 computed checksum did NOT match FAIL: tests/runtestG1.sh ======================== [G1] No processing, with overwrite on non-existing file. + rm -f tests/resultsG1.pbm + ./unpaper --overwrite -v --no-processing 1 ./tests/imgsrc001.png tests/resultsG1.pbm [image2 @ 0x1b86b9825000] Encoder did not produce proper pts, making some up. unpaper 6.1 License GPLv2: GNU GPL version 2. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. ------------------------------------------------------------------------------- Processing sheet #1: ./tests/imgsrc001.png -> tests/resultsG1.pbm input-file for sheet 1: ./tests/imgsrc001.png output-file for sheet 1: tests/resultsG1.pbm sheet size: 2480x3507 ... writing output. + [ -f tests/resultsG1.pbm ] + md5sum -c - + << EOF tests/resultsG1.pbm: FAILED md5sum: WARNING: 1 computed checksum did NOT match FAIL: tests/runtestG2.sh ======================== [G2] No processing, with overwrite on an existing file. + rm -f tests/resultsG2.pbm + touch tests/resultsG2.pbm + ./unpaper --overwrite -v --no-processing 1 ./tests/imgsrc001.png tests/resultsG2.pbm [image2 @ 0x15f3ebc22000] Encoder did not produce proper pts, making some up. unpaper 6.1 License GPLv2: GNU GPL version 2. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. ------------------------------------------------------------------------------- Processing sheet #1: ./tests/imgsrc001.png -> tests/resultsG2.pbm input-file for sheet 1: ./tests/imgsrc001.png output-file for sheet 1: tests/resultsG2.pbm sheet size: 2480x3507 ... writing output. + [ -s tests/resultsG2.pbm ] + md5sum -c - + << EOF tests/resultsG2.pbm: FAILED md5sum: WARNING: 1 computed checksum did NOT match XFAIL: tests/runtestG3.sh ========================= [G3] No processing, without overwrite on an existing file. + rm -f tests/resultsG3.pbm + touch tests/resultsG3.pbm + ./unpaper --overwrite -v --no-processing 1 ./tests/imgsrc001.png tests/resultsG3.pbm [image2 @ 0xbf75a463000] Encoder did not produce proper pts, making some up. unpaper 6.1 License GPLv2: GNU GPL version 2. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. ------------------------------------------------------------------------------- Processing sheet #1: ./tests/imgsrc001.png -> tests/resultsG3.pbm input-file for sheet 1: ./tests/imgsrc001.png output-file for sheet 1: tests/resultsG3.pbm sheet size: 2480x3507 ... writing output. + [ -s tests/resultsG3.pbm ] + md5sum -c - + << EOF tests/resultsG3.pbm: FAILED md5sum: WARNING: 1 computed checksum did NOT match ~~~ j.