Class VisionThread

    • Constructor Detail

      • VisionThread

        public VisionThread​(VisionRunner<?> visionRunner)
        Deprecated.
        Creates a vision thread that continuously runs a VisionPipeline.
        Parameters:
        visionRunner - the runner for a vision pipeline
      • VisionThread

        public VisionThread​(VideoSource videoSource,
                            P pipeline,
                            VisionRunner.Listener<? super P> listener)
        Deprecated.
        Creates a new vision thread that continuously runs the given vision pipeline. This is equivalent to new VisionThread(new VisionRunner<>(videoSource, pipeline, listener)).
        Type Parameters:
        P - the type of the pipeline
        Parameters:
        videoSource - the source for images the pipeline should process
        pipeline - the pipeline to run
        listener - the listener to copy outputs from the pipeline after it runs