first commit
BIN
image_test/output/signature/00_original.png
Normal file
|
After Width: | Height: | Size: 19 KiB |
BIN
image_test/output/signature/01_binarized.png
Normal file
|
After Width: | Height: | Size: 4.7 KiB |
BIN
image_test/output/signature/02_white_removed.png
Normal file
|
After Width: | Height: | Size: 4.7 KiB |
BIN
image_test/output/signature/03_border_cropped.png
Normal file
|
After Width: | Height: | Size: 4.7 KiB |
BIN
image_test/output/signature/04_scaled.png
Normal file
|
After Width: | Height: | Size: 169 B |
BIN
image_test/output/signature/07_final_cropped.png
Normal file
|
After Width: | Height: | Size: 169 B |
15
image_test/output/signature/diagnostics.txt
Normal file
@@ -0,0 +1,15 @@
|
||||
输入: signature.png
|
||||
模式: RGBA 尺寸: (1820, 510)
|
||||
参数: is_sig=True height_cm=1 noise=0 rotate=[0,0] dpi=96
|
||||
阈值: alpha>30 亮度<210 二值化>128 白底>240
|
||||
--------------------------------------------------------------------------------
|
||||
[00] original size=(1820, 510) alpha= 2.1% dark=100.0% content= 2.1% bbox=(400, 105, 1022, 461)
|
||||
[01] binarized size=(1820, 510) alpha=100.0% dark=100.0% content=100.0% bbox=(0, 0, 1820, 510)
|
||||
[02] white_removed size=(1820, 510) alpha=100.0% dark=100.0% content=100.0% bbox=(0, 0, 1820, 510)
|
||||
[03] border_cropped size=(1820, 510) alpha=100.0% dark=100.0% content=100.0% bbox=(0, 0, 1820, 510)
|
||||
[04] scaled size=(132, 37) alpha=100.0% dark=100.0% content=100.0% bbox=(0, 0, 132, 37)
|
||||
[05] noised SKIPPED
|
||||
[06] rotated SKIPPED
|
||||
[07] final_cropped size=(132, 37) alpha=100.0% dark=100.0% content=100.0% bbox=(0, 0, 132, 37)
|
||||
--------------------------------------------------------------------------------
|
||||
最终输出: final.png size=(132, 37)
|
||||
BIN
image_test/output/signature/final.png
Normal file
|
After Width: | Height: | Size: 169 B |