Contents

MLObjectDetector.DataSource.directoryWithImages(at:annotationFile:)

An object-detector data source you create by selecting the location of a directory of image files, and the location of a JSON annotation file.

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