Removed java fix for crash bug

This commit is contained in:
Omer
2019-12-05 22:10:58 +02:00
parent d18954f549
commit 7bec1bfdfe
2 changed files with 0 additions and 8 deletions

View File

@@ -47,10 +47,6 @@ public class Collect2dTargetsPipe implements Pipe<Pair<List<RotatedRect>, Captur
t.rawPoint = r;
switch (this.calibrationMode) {
case Single:
if (this.calibrationPoint.get(0) == null)
this.calibrationPoint.set(0, camProps.centerX);
if (this.calibrationPoint.get(1) == null)
this.calibrationPoint.set(1, camProps.centerY);
t.calibratedX = this.calibrationPoint.get(0).doubleValue();
t.calibratedY = this.calibrationPoint.get(1).doubleValue();
break;

View File

@@ -49,10 +49,6 @@ public class Draw2dCrosshairPipe implements Pipe<Pair<Mat, List<CVPipeline2d.Tar
y = image.rows() / 2;
switch (this.calibrationMode) {
case Single:
if (this.calibrationPoint.get(0) == null)
this.calibrationPoint.set(0, image.cols()/2);
if (this.calibrationPoint.get(1) == null)
this.calibrationPoint.set(1, image.rows()/2);
x = this.calibrationPoint.get(0).intValue();
y = this.calibrationPoint.get(1).intValue();
break;