Files
PhotonVision/Main/src/main/java/com/chameleonvision/vision/camera/CameraCapture.java

27 lines
693 B
Java
Raw Normal View History

package com.chameleonvision.vision.camera;
import com.chameleonvision.vision.image.ImageCapture;
import edu.wpi.cscore.VideoMode;
public interface CameraCapture extends ImageCapture {
USBCameraProperties getProperties();
/**
* Set the exposure of the camera
* @param exposure the new exposure to set the camera to
*/
void setExposure(int exposure);
/**
* Set the exposure of the camera
* @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);
}