From 4d5904dd6d9ad6f7b11c1698bbd0167098edf286 Mon Sep 17 00:00:00 2001 From: Chris Gerth Date: Sun, 9 Oct 2022 20:30:16 -0500 Subject: [PATCH] Stream content reorg. (#489) Revised stream and target draw logic to divide the streams by "Raw" and "Processed" and only draw the results on the "Processed" stream. Should allow for input sterams to be recorded for raw camera input, and output for debug info. --- photon-client/src/views/PipelineView.vue | 10 ++--- .../vision/pipeline/AprilTagPipeline.java | 10 ++--- .../vision/pipeline/OutputStreamPipeline.java | 40 +++++++++++++------ 3 files changed, 37 insertions(+), 23 deletions(-) diff --git a/photon-client/src/views/PipelineView.vue b/photon-client/src/views/PipelineView.vue index c1fd52a09..911d9c6c1 100644 --- a/photon-client/src/views/PipelineView.vue +++ b/photon-client/src/views/PipelineView.vue @@ -36,7 +36,7 @@ {{ Math.round($store.state.pipelineResults.fps) }} FPS – {{ Math.min(Math.round($store.state.pipelineResults.latency), 9999) }} ms latency HSV thresholds are too broad; narrow them for better performance - stop viewing the color stream for better performance + stop viewing the raw stream for better performance - mdi-palette - Normal + mdi-import + Raw - mdi-compare - Threshold + mdi-export + Processed diff --git a/photon-core/src/main/java/org/photonvision/vision/pipeline/AprilTagPipeline.java b/photon-core/src/main/java/org/photonvision/vision/pipeline/AprilTagPipeline.java index b6c0a0ced..7b89a6648 100644 --- a/photon-core/src/main/java/org/photonvision/vision/pipeline/AprilTagPipeline.java +++ b/photon-core/src/main/java/org/photonvision/vision/pipeline/AprilTagPipeline.java @@ -117,9 +117,13 @@ public class AprilTagPipeline extends CVPipeline targetList; CVPipeResult> tagDetectionPipeResult; @@ -127,7 +131,6 @@ public class AprilTagPipeline extends CVPipeline(); @@ -150,11 +153,6 @@ public class AprilTagPipeline extends CVPipeline