CocoParser
class CocoParser extends MetadataParser
Properties
SplFileObject | $fileObject | from MetadataParser | |
private | $coco |
Methods
static array
getKnownMimeTypes()
Get the MIME types that files known by this parser can have.
static string
getName()
Get the name of the parser to show it to users selecting files.
bool
recognizesFile()
Returns true if the file is in the format understood by the parser.
getMetadata()
Get a filled VolumeMetadata object based on the file.
processImageAnnotations(Collection $annotations, array $categories)
No description
Details
at line 21
static array
getKnownMimeTypes()
Get the MIME types that files known by this parser can have.
Example: ['text/csv']
at line 35
static string
getName()
Get the name of the parser to show it to users selecting files.
Example: 'BIIGLE CSV'
in
MetadataParser at line 26
__construct(SplFileInfo $file)
No description
at line 53
bool
recognizesFile()
Returns true if the file is in the format understood by the parser.
at line 67
VolumeMetadata
getMetadata()
Get a filled VolumeMetadata object based on the file.
in
MetadataParser at line 41
protected SplFileObject
getFileObject()
No description
at line 40
private Coco
getCoco()
No description
at line 96
private
processImageAnnotations(Collection $annotations, array $categories)
No description