调整跳过空白页判断边缘阈值,优化图像边缘填充会导致跳不过的问题
This commit is contained in:
parent
3c520920d2
commit
cf1f7621e5
|
@ -1167,7 +1167,7 @@ namespace hg_imgproc
|
||||||
mats_.clear();
|
mats_.clear();
|
||||||
|
|
||||||
double threshold = 40;
|
double threshold = 40;
|
||||||
int edge = 30;
|
int edge = 40;
|
||||||
int dis = img_conf_.discardblank_percent;
|
int dis = img_conf_.discardblank_percent;
|
||||||
if (img_conf_.is_autodiscradblank_vince)
|
if (img_conf_.is_autodiscradblank_vince)
|
||||||
dis *= 1.5;
|
dis *= 1.5;
|
||||||
|
|
Loading…
Reference in New Issue