images
list corresponds to an image and contains the following fields:location
: image URLdata
: (optional) a dictionary in which you can add as many fields as you want. It will typically contain useful meta-data, such as: date, camera ID, etc.images
is a list, so you may input as many as you want.data
in the element of the images
list. The following JSON was used to upload the image above:location
and optional data
fields, you will need to add the following fields to the images
entries of your JSON file:stage
: (optional) stage of the image, either train
(training set), val
(validation set). If not provided, it is set train
by default.annotated_regions
: (optional) the list of annotations, each containing the following fields:tags
: the list of tags present on this regionregion_type
: always put Whole
in this field, because the annotation concerns the whole image.tags
field to the JSON. This is to check errors in the tags. Simply put, tags
is a list of all possible tags for the images.region
composed of xmin
, xmax
, ymin
and ymax
corresponding to the normalized bounding box coordinates.scp
command in bash
. If your images are located in the /home/myname/images/
in your local computer and you want to upload them to /home/media/all_images/
on the remote server then you can use the command below.-r
option means that you want to transfer the complete directory, -P 333
is the port number to use and yourusername
/yourservername
should be provided to you by your SysAdmin.gsutil
, Google Services Command Line Interface. Simply refer to the Google official tutorial.