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?
It looks like the COCO Spec has a
coco_urlfield for images. This interfaces nicely with the referencepycocotoolsimplementation's.download()method, which fetches the file from thecoco_urland saves it locally to thefile_name. It looks as though the kwcoco schema does not have acoco_urlfield on the image type? This is somewhat unfortunate, because a URL permits one to unambiguously and uniquely define a single file (even if thefile_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_urlfield for images and video to preserve compatibility with COCO format, and to empower non-local computing?