Class ImageSourceBuffer

  • All Implemented Interfaces:
    AutoCloseable

    public final class ImageSourceBuffer
    extends Object
    implements AutoCloseable
    ImageSourceBuffer class Represents a source of image data, used as input to or output from Vision AI operations.

    Note: close() must be called in order to release underlying resources held by the object.

    • Constructor Detail

      • ImageSourceBuffer

        public ImageSourceBuffer()
        Constructs a new ImageSourceBuffer object
    • Method Detail

      • closeWriter

        public void closeWriter()
        Closes the frame source for writing.
      • getHandle

        public long getHandle()
        Gets the internal native handle.
        Returns:
        Native handle value
      • close

        public void close()
        Explicitly frees any external resource attached to the object
        Specified by:
        close in interface AutoCloseable