Continued work on loading from configs

This commit is contained in:
Banks Troutman
2019-11-20 17:06:18 -05:00
parent 0ed2697565
commit 35509c0162
6 changed files with 41 additions and 26 deletions

View File

@@ -24,6 +24,11 @@ public class CVPipeline2d extends CVPipeline<CVPipeline2dResult, CVPipeline2dSet
@Override
public CVPipeline2dResult runPipeline(Mat inputMat) {
if (cameraProcess == null) {
throw new RuntimeException("Pipeline was not initialized before being run!");
}
long totalProcessTimeNanos = 0;
StringBuilder procTimeStringBuilder = new StringBuilder();