Class MJPGFrameConsumer

java.lang.Object
org.photonvision.vision.frame.consumer.MJPGFrameConsumer
All Implemented Interfaces:
AutoCloseable

public class MJPGFrameConsumer extends Object implements AutoCloseable
  • Constructor Details

    • MJPGFrameConsumer

      public MJPGFrameConsumer(String sourceName, int width, int height, int port)
    • MJPGFrameConsumer

      public MJPGFrameConsumer(String name, int port)
  • Method Details

    • accept

      public void accept(CVMat image)
    • getCurrentStreamPort

      public int getCurrentStreamPort()
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable