Allow resolution change to take effect without restarting CameraProcess

This commit is contained in:
Banks Troutman
2019-09-20 02:30:19 -04:00
parent 012aa9559a
commit 07c21aca1d
2 changed files with 14 additions and 12 deletions

View File

@@ -48,10 +48,6 @@ public class CameraProcess implements Runnable {
private Scalar contourRectColor = new Scalar(255, 0, 0);
private long TimeStamp = 0;
public void restartProcess() {
// TODO: Restart process and re-create cvPublish for new resolution
}
private void DriverModeListener(EntryNotification entryNotification) {
if (entryNotification.value.getBoolean()) {
camera.setExposure(25);