Support for driver settings tab

This commit is contained in:
Omer
2019-11-01 17:01:10 +02:00
parent 7ef05e6077
commit a050dff150
5 changed files with 48 additions and 22 deletions

View File

@@ -123,7 +123,7 @@ public class VisionProcess implements Runnable {
if (currentPipeline.orientation.equals(Orientation.Inverted)) {
Core.flip(inputImage, inputImage, -1);
}
if (ntDriverModeEntry.getBoolean(false)) {
if (camera.getDriverMode()) {
inputImage.copyTo(outputImage);
return pipelineResult;
}