Skip to main content
Image groups can consist of images with different dimensions. In contrast, image sequences are images that all have the same dimensions. When images of varying dimensions are grouped together, multiple image sequences are created, each containing files that share the same dimensions.

Create Image Groups

From Local Files
From Existing Files

Create Image Sequences

Encord stores each image sequence as a video file. Where the video is written depends on how you create the sequence:
  • From local files: Encord stores the video in Encord-hosted storage.
  • From files in your cloud storage (a JSON manifest or file URLs): Encord writes the video to the same bucket as the first frame in the sequence. Your integration must have write access to that bucket.
  • From existing files in Encord, using a cloud integration: Set video_url_prefix on DataUploadImageGroupFromItems to tell Encord where to write the video. If you leave it out, the upload fails with video_url_prefix should be specified when creating image sequences in external storage.
In all cases, Encord writes the video under a cord-videos-<environment>/<user-id>/ path and generates the file name. From Local Files
From Existing Files

Set the Video Storage Location

Set video_url_prefix using the format for your cloud storage provider in the following table. Do not include a scheme such as s3://, gs://, or https://. Encord adds the scheme for you, so a value such as s3://my-bucket produces an invalid storage URL. You can’t add a path for Azure or for the providers in the last row. For these, Encord creates the cord-videos-<environment>/<user-id>/ path at the top level of the container or bucket. For example, with an AWS S3 integration, video_url_prefix="my-bucket/sequences" writes the video to s3://my-bucket/sequences/cord-videos-<environment>/<user-id>/<file-name>.mp4. The integration you pass to add_private_data_to_folder_start must have write access to the bucket in video_url_prefix.

Create at Scale

For large-scale imports, create image groups and image sequences from a JSON manifest. This is the recommended approach when importing hundreds or thousands of grouped images because it avoids making one SDK request per group.

Image Groups

Image Sequences