mirror of
https://github.com/zxing/zxing.git
synced 2024-11-09 20:44:03 -08:00
fix valid y
range (#1430)
This commit is contained in:
parent
aeeec7b07f
commit
f04ab98f97
|
@ -550,7 +550,7 @@ public final class Detector {
|
|||
}
|
||||
|
||||
private boolean isValid(int x, int y) {
|
||||
return x >= 0 && x < image.getWidth() && y > 0 && y < image.getHeight();
|
||||
return x >= 0 && x < image.getWidth() && y >= 0 && y < image.getHeight();
|
||||
}
|
||||
|
||||
private boolean isValid(ResultPoint point) {
|
||||
|
|
Loading…
Reference in a new issue