mirror of
https://github.com/zxing/zxing.git
synced 2025-01-14 12:48:03 -08:00
Issue 166
git-svn-id: https://zxing.googlecode.com/svn/trunk@902 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
parent
f743341043
commit
58705e7b91
|
@ -40,7 +40,7 @@ namespace qrcode {
|
||||||
image_(image) { }
|
image_(image) { }
|
||||||
|
|
||||||
Ref<DetectorResult> Detector::detect() {
|
Ref<DetectorResult> Detector::detect() {
|
||||||
if (!BlackPointEstimationMethod_2D == image_->getLastEstimationMethod()) {
|
if (BlackPointEstimationMethod_2D != image_->getLastEstimationMethod()) {
|
||||||
image_->estimateBlackPoint(BlackPointEstimationMethod_2D, 0);
|
image_->estimateBlackPoint(BlackPointEstimationMethod_2D, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue