init(id:image:)
Creates a new sample.
Declaration
init(id: Int, image: CVPixelBuffer)Parameters
- id:
A unique identifier for the sample. This
idmust be in the domain [0, 2147483647]. - image:
The image data in one of the following formats:
Creates a new sample.
init(id: Int, image: CVPixelBuffer)A unique identifier for the sample. This id must be in the domain [0, 2147483647].
The image data in one of the following formats: