调整跳过空白页判断边缘阈值,优化图像边缘填充会导致跳不过的问题

This commit is contained in:
yangjiaxuan 2023-12-05 12:04:34 +08:00
parent 3c520920d2
commit cf1f7621e5
1 changed files with 1 additions and 1 deletions

View File

@ -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;