mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-24 01:31:44 +00:00
Config fixes, add JUnit maven dependency, potential fix for stream latency
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
package com.chameleonvision.vision.enums;
|
||||
|
||||
public enum Orientation {
|
||||
//TODO: (low) add 90 and 270 deg rotation?
|
||||
Normal,
|
||||
Inverted;
|
||||
}
|
||||
Reference in New Issue
Block a user