Add video mode change support to VisionProcess

This commit is contained in:
Matt
2019-11-16 11:10:55 -08:00
parent f426552644
commit 58c1924c7e
4 changed files with 34 additions and 3 deletions

View File

@@ -1,5 +1,6 @@
package com.chameleonvision.classabstraction.camera;
import edu.wpi.cscore.VideoMode;
import org.apache.commons.lang3.tuple.Pair;
import org.opencv.core.Mat;
@@ -23,4 +24,10 @@ public interface CameraProcess {
* @param brightness the new brightness to set the camera to
*/
void setBrightness(int brightness);
/**
* Set the video mode (fps and resolution) of the camera
* @param mode the wanted mode
*/
void setVideoMode(VideoMode mode);
}