Config fixes, add JUnit maven dependency, potential fix for stream latency

This commit is contained in:
Banks Troutman
2019-11-27 14:59:36 -05:00
parent e195cce026
commit 6b5bd75dbe
15 changed files with 110 additions and 62 deletions

View File

@@ -2,7 +2,7 @@ package com.chameleonvision.vision.enums;
import org.opencv.core.Core;
public enum ImageRotation {
public enum ImageRotationMode {
DEG_0(-1),
DEG_90(Core.ROTATE_90_CLOCKWISE),
DEG_180(Core.ROTATE_180),
@@ -10,7 +10,7 @@ public enum ImageRotation {
public final int value;
ImageRotation(int value) {
ImageRotationMode(int value) {
this.value = value;
}
}

View File

@@ -1,7 +0,0 @@
package com.chameleonvision.vision.enums;
public enum Orientation {
//TODO: (low) add 90 and 270 deg rotation?
Normal,
Inverted;
}