mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-21 01:01:41 +00:00
Major pipeline optimizations, moved grabFrame in to vision thread
This commit is contained in:
@@ -89,11 +89,10 @@ public class CVPipeline2d extends CVPipeline<CVPipeline2dResult, CVPipeline2dSet
|
||||
if (cameraCapture == null) {
|
||||
throw new RuntimeException("Pipeline was not initialized before being run!");
|
||||
}
|
||||
if(inputMat.cols() <= 1) {
|
||||
if (inputMat.cols() <= 1) {
|
||||
throw new RuntimeException("Input Mat is empty!");
|
||||
}
|
||||
|
||||
|
||||
pipelineTimeStringBuilder = new StringBuilder();
|
||||
|
||||
inputMat.copyTo(rawCameraMat);
|
||||
|
||||
Reference in New Issue
Block a user