Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

PhotoSequence

import type { PhotoSequence } from "https://googleapis.deno.dev/v1/streetviewpublish:v1.ts";

A sequence of 360 photos along with metadata.

interface PhotoSequence {
captureTimeOverride?: Date;
readonly distanceMeters?: number;
readonly failureDetails?: ProcessingFailureDetails;
readonly failureReason?:
| "PROCESSING_FAILURE_REASON_UNSPECIFIED"
| "LOW_RESOLUTION"
| "DUPLICATE"
| "INSUFFICIENT_GPS"
| "NO_OVERLAP_GPS"
| "INVALID_GPS"
| "FAILED_TO_REFINE_POSITIONS"
| "TAKEDOWN"
| "CORRUPT_VIDEO"
| "INTERNAL"
| "INVALID_VIDEO_FORMAT"
| "INVALID_VIDEO_DIMENSIONS"
| "INVALID_CAPTURE_TIME"
| "GPS_DATA_GAP"
| "JUMPY_GPS"
| "INVALID_IMU"
| "INSUFFICIENT_IMU"
| "INSUFFICIENT_OVERLAP_TIME_SERIES"
| "IMU_DATA_GAP"
| "UNSUPPORTED_CAMERA"
| "NOT_OUTDOORS"
| "INSUFFICIENT_VIDEO_FRAMES"
| "INSUFFICIENT_MOVEMENT"
| "MAST_DOWN"
| "CAMERA_COVERED";
readonly filename?: string;
gpsSource?: "PHOTO_SEQUENCE" | "CAMERA_MOTION_METADATA_TRACK";
readonly id?: string;
imu?: Imu;
readonly photos?: Photo[];
readonly processingState?:
| "PROCESSING_STATE_UNSPECIFIED"
| "PENDING"
| "PROCESSING"
| "PROCESSED"
| "FAILED";
rawGpsTimeline?: Pose[];
readonly sequenceBounds?: LatLngBounds;
uploadReference?: UploadRef;
readonly uploadTime?: Date;
readonly viewCount?: bigint;
}

§Properties

§
captureTimeOverride?: Date
[src]

Optional. Absolute time when the photo sequence starts to be captured. If the photo sequence is a video, this is the start time of the video. If this field is populated in input, it overrides the capture time in the video or XDM file.

§
readonly distanceMeters?: number
[src]

Output only. The computed distance of the photo sequence in meters.

§
readonly failureDetails?: ProcessingFailureDetails
[src]

Output only. If this sequence has failure_reason set, this may contain additional details about the failure.

§
readonly failureReason?: "PROCESSING_FAILURE_REASON_UNSPECIFIED" | "LOW_RESOLUTION" | "DUPLICATE" | "INSUFFICIENT_GPS" | "NO_OVERLAP_GPS" | "INVALID_GPS" | "FAILED_TO_REFINE_POSITIONS" | "TAKEDOWN" | "CORRUPT_VIDEO" | "INTERNAL" | "INVALID_VIDEO_FORMAT" | "INVALID_VIDEO_DIMENSIONS" | "INVALID_CAPTURE_TIME" | "GPS_DATA_GAP" | "JUMPY_GPS" | "INVALID_IMU" | "INSUFFICIENT_IMU" | "INSUFFICIENT_OVERLAP_TIME_SERIES" | "IMU_DATA_GAP" | "UNSUPPORTED_CAMERA" | "NOT_OUTDOORS" | "INSUFFICIENT_VIDEO_FRAMES" | "INSUFFICIENT_MOVEMENT" | "MAST_DOWN" | "CAMERA_COVERED"
[src]

Output only. If this sequence has processing_state = FAILED, this will contain the reason why it failed. If the processing_state is any other value, this field will be unset.

§
readonly filename?: string
[src]

Output only. The filename of the upload. Does not include the directory path. Only available if the sequence was uploaded on a platform that provides the filename.

§
gpsSource?: "PHOTO_SEQUENCE" | "CAMERA_MOTION_METADATA_TRACK"
[src]

Input only. If both raw_gps_timeline and the Camera Motion Metadata Track (CAMM) contain GPS measurements, indicate which takes precedence.

§
readonly id?: string
[src]

Output only. Unique identifier for the photo sequence. This also acts as a long running operation ID if uploading is performed asynchronously.

§
imu?: Imu
[src]

Input only. Three axis IMU data for the collection. If this data is too large to put in the request, then it should be put in the CAMM track for the video. This data always takes precedence over the equivalent CAMM data, if it exists.

§
readonly photos?: Photo[]
[src]

Output only. Photos with increasing timestamps.

§
readonly processingState?: "PROCESSING_STATE_UNSPECIFIED" | "PENDING" | "PROCESSING" | "PROCESSED" | "FAILED"
[src]

Output only. The processing state of this sequence.

§
rawGpsTimeline?: Pose[]
[src]

Input only. Raw GPS measurements with increasing timestamps from the device that aren't time synced with each photo. These raw measurements will be used to infer the pose of each frame. Required in input when InputType is VIDEO and raw GPS measurements are not in Camera Motion Metadata Track (CAMM). User can indicate which takes precedence using gps_source if raw GPS measurements are provided in both raw_gps_timeline and Camera Motion Metadata Track (CAMM).

§
readonly sequenceBounds?: LatLngBounds
[src]

Output only. A rectangular box that encapsulates every image in this photo sequence.

§
uploadReference?: UploadRef
[src]

Input only. Required when creating photo sequence. The resource name where the bytes of the photo sequence (in the form of video) are uploaded.

§
readonly uploadTime?: Date
[src]

Output only. The time this photo sequence was created in uSV Store service.

§
readonly viewCount?: bigint
[src]

Output only. The total number of views that all the published images in this PhotoSequence have received.