MLObjectDetector.DataSource.table(_:imageColumn:annotationColumn:)
An object-detector data source you create with a data table.
Declaration
case table(MLDataTable, imageColumn: String, annotationColumn: String)Parameters
- table:
An Mldatatable instance that contains a column of image file locations and a column of object annotations.
- imageColumn:
The name of the column in the data table that contains the URL for an image.
- annotationColumn:
The name of the column in the data table that contains the object annotations for an image.