Recreated all pipeline steps as Pipes and set up CVPipeline2d

This commit is contained in:
Banks Troutman
2019-11-07 11:15:54 -05:00
parent d619d85109
commit c213d4c751
25 changed files with 888 additions and 221 deletions

View File

@@ -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;
}
}

View File

@@ -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;
}
}

View File

@@ -1,5 +1,6 @@
package com.chameleonvision.vision;
public enum TargetGroup {
Single,Dual
Single,
Dual
}