MLObjectDetector.DataSource.directoryWithImagesAndJsonAnnotation(at:)
An object-detector data source you create by selecting a directory that contains image files and exactly one JSON annotation file.
Declaration
case directoryWithImagesAndJsonAnnotation(at: URL)Parameters
- directoryWithImagesAndJsonAnnotation:
The location of a directory that contains exactly one JSON annotation file and all the image files the JSON file’s annotations refer to.