Enumeration Case

MLObjectDetector.DataSource.directoryWithImages(at:annotationFile:)

The location of a directory of image files, and the location of a corresponding JSON file with object annotations.

Declaration

case directoryWithImages(at: URL, annotationFile: URL)

Parameters

directoryWithImages

The location of a directory that contains image files.

annotationFile

The location of a JSON file with object annotations for the images.

See Also

Creating a Data Source

case directoryWithImagesAndJsonAnnotation(at: URL)

The location of a directory that contains image files and exactly one corresponding JSON file with object annotations.