Skip to content

coco_url field for images/video? #12

Description

@csbrown-noaa

It looks like the COCO Spec has a coco_url field for images. This interfaces nicely with the reference pycocotools implementation's .download() method, which fetches the file from the coco_url and saves it locally to the file_name. It looks as though the kwcoco schema does not have a coco_url field on the image type? This is somewhat unfortunate, because a URL permits one to unambiguously and uniquely define a single file (even if the file_names conflict, for example). It is also useful for video streams that may not live locally, but exist as a stream over the internet. Also, for non-local processing environments (e.g. for prediction-as-a-service setups) where, say, data are defined by their location in a cloud environment rather than a local file path.

Is there hope for supporting a coco_url field for images and video to preserve compatibility with COCO format, and to empower non-local computing?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions