NoopSegmentationProcessor

public class NoopSegmentationProcessor : SegmentationProcessor

NoopSegmentationProcessor is a processor that does nothing except pass image frames in and out. This is used as a placeholder for implementations of SegmentationProcessor that cannot be initialized.

  • Declaration

    Swift

    public func initialize(_ height: Int, width: Int, channels: Int) -> Bool
  • Declaration

    Swift

    public func predict() -> Bool
  • Declaration

    Swift

    public func getModelState() -> Int
  • Declaration

    Swift

    public func getInputBuffer() -> UnsafeMutablePointer<UInt8>
  • Declaration

    Swift

    public func getOutputBuffer() -> UnsafeMutablePointer<UInt8>