mirror of
https://github.com/zxing/zxing.git
synced 2025-02-02 05:41:08 -08:00
Minor deletion of code that shouldn't have been committed
git-svn-id: https://zxing.googlecode.com/svn/trunk@1576 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
parent
dca6c9a353
commit
674a5c6f91
|
@ -287,18 +287,12 @@ public final class WhiteRectangleDetector {
|
|||
|
||||
if (horizontal) {
|
||||
for (int x = a; x <= b; x++) {
|
||||
if (x>=480 || x < 0 || fixed >= 360 || fixed < 0){
|
||||
x++;
|
||||
}
|
||||
if (image.get(x, fixed)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
for (int y = a; y <= b; y++) {
|
||||
if (y>=360 || y < 0 || fixed >= 480 || fixed < 0){
|
||||
y++;
|
||||
}
|
||||
if (image.get(fixed, y)) {
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue