mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-24 01:31:44 +00:00
Recreated all pipeline steps as Pipes and set up CVPipeline2d
This commit is contained in:
@@ -1,5 +1,14 @@
|
||||
package com.chameleonvision.vision;
|
||||
|
||||
public enum ImageFlipMode {
|
||||
NONE, VERTICAL, HORIZONTAL, BOTH
|
||||
NONE(Integer.MIN_VALUE),
|
||||
VERTICAL(1),
|
||||
HORIZONTAL(0),
|
||||
BOTH(-1);
|
||||
|
||||
public final int value;
|
||||
|
||||
ImageFlipMode(int value) {
|
||||
this.value = value;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
package com.chameleonvision.vision;
|
||||
|
||||
import org.opencv.core.Core;
|
||||
|
||||
public enum ImageRotation {
|
||||
DEG_0(-1),
|
||||
DEG_90(Core.ROTATE_90_CLOCKWISE),
|
||||
DEG_180(Core.ROTATE_180),
|
||||
DEG_270(Core.ROTATE_90_COUNTERCLOCKWISE);
|
||||
|
||||
public final int value;
|
||||
|
||||
ImageRotation(int value) {
|
||||
this.value = value;
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,6 @@
|
||||
package com.chameleonvision.vision;
|
||||
|
||||
public enum TargetGroup {
|
||||
Single,Dual
|
||||
Single,
|
||||
Dual
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user