把邋遢的photoscans变成清晰的黑白图像
afterscan的Python项目详细描述
#后视镜
啊![徽标](afterscan logo.jpg)
##安装
使用python 3
` pip install afterscan `
##用法
` afterscan [OPTIONS] FILENAME `
示例
` afterscan myimage.jpg --threshold 75 -f `
###选项
` --threshold INTEGER Threshold value between 0 and 255. Default=100 -o,--out TEXT Output path. Default afterscan-[filename] in pwd -i,--invert / --no-invert Invert the image -f,--force / --no-force Overwrite existing file without asking --help Show this message and exit. `
##演示
当我画这个令人惊叹的标志时,我发现自己正在扫描背景中的线条。
通过使用此命令,我可以生成第二个图像:
` afterscan logo.jpg --threshold 75 -f `
###之前
啊![之前的图像](afterscan logo before.jpg)
###之后
啊![图像后](afterscan logo.jpg)