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.
Details
at line 20
static array
getKnownMimeTypes()
Get the MIME types that files known by this parser can have.
Example: ['text/csv']
at line 30
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 48
bool
recognizesFile()
Returns true if the file is in the format understood by the parser.
at line 62
VolumeMetadata
getMetadata()
Get a filled VolumeMetadata object based on the file.
in
MetadataParser at line 41
protected SplFileObject
getFileObject()
No description
at line 35
private Coco
getCoco()
No description
at line 86
private
processImageAnnotations(Image $image, ImageMetadata $imageMetaData)
No description