Fix pipeline errors

This commit is contained in:
Matt
2019-11-23 20:06:37 -08:00
parent 3756d537cb
commit 299692c286
6 changed files with 40 additions and 10 deletions

View File

@@ -35,6 +35,9 @@ public class CVPipeline2d extends CVPipeline<CVPipeline2dResult, CVPipeline2dSet
if (cameraProcess == null) {
throw new RuntimeException("Pipeline was not initialized before being run!");
}
if(inputMat.cols() <= 1) {
throw new RuntimeException("uwu uwu ");
}
long totalProcessTimeNanos = 0;
StringBuilder procTimeStringBuilder = new StringBuilder();