diff --git a/hgdriver/ImageProcess/ImageApplyAutoCrop.cpp b/hgdriver/ImageProcess/ImageApplyAutoCrop.cpp index 907dfec..46f959b 100644 --- a/hgdriver/ImageProcess/ImageApplyAutoCrop.cpp +++ b/hgdriver/ImageProcess/ImageApplyAutoCrop.cpp @@ -204,12 +204,13 @@ void autoCrop_desaskew_fillBlank(const cv::Mat& src, cv::Mat& dst, bool isAutoCr cv::RotatedRect rect = hg::getBoundingRect(maxContour); +#ifndef x86_64 if (dispersion) { cv::Mat mat_dispersion = src(cv::boundingRect(maxContour)); dispersion_apply.apply(mat_dispersion, 0); } - +#endif cv::Scalar blankColor; if (isFillBlank) if (isColorBlank)