mirror of
https://github.com/zxing/zxing.git
synced 2025-03-05 20:48:51 -08:00
Minor update to last change
This commit is contained in:
parent
fa691c238f
commit
81ae01c132
|
@ -160,17 +160,18 @@ final class DecodeWorker implements Callable<Integer> {
|
||||||
result.getText() + "\n" +
|
result.getText() + "\n" +
|
||||||
"Parsed result:\n" +
|
"Parsed result:\n" +
|
||||||
parsedResult.getDisplayResult() + "\n");
|
parsedResult.getDisplayResult() + "\n");
|
||||||
output.write("Found " + result.getResultPoints().length + " result points.\n");
|
ResultPoint[] resultPoints = result.getResultPoints();
|
||||||
for (int pointIndex = 0; pointIndex < result.getResultPoints().length; pointIndex++) {
|
int numResultPoints = resultPoints.length;
|
||||||
ResultPoint rp = result.getResultPoints()[pointIndex];
|
output.write("Found " + numResultPoints + " result points.\n");
|
||||||
if (rp == null) {
|
for (int pointIndex = 0; pointIndex < numResultPoints; pointIndex++) {
|
||||||
continue;
|
ResultPoint rp = resultPoints[pointIndex];
|
||||||
}
|
if (rp != null) {
|
||||||
output.write(" Point " + pointIndex + ": (" + rp.getX() + ',' + rp.getY() + ')');
|
output.write(" Point " + pointIndex + ": (" + rp.getX() + ',' + rp.getY() + ')');
|
||||||
if (pointIndex != result.getResultPoints().length - 1) {
|
if (pointIndex != numResultPoints - 1) {
|
||||||
output.write('\n');
|
output.write('\n');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
output.write('\n');
|
output.write('\n');
|
||||||
}
|
}
|
||||||
System.out.println(output);
|
System.out.println(output);
|
||||||
|
|
Loading…
Reference in a new issue