Datasets:
Download captions_schema.json from ezharjan/WebCam254: direct link, hf CLI and curl.
- Browser
- Download file 16.1 kB
-
https://huggingface.co/datasets/ezharjan/WebCam254/resolve/main/captions_schema.json
- Command line
-
hf download hf://datasets/ezharjan/WebCam254/captions_schema.json
-
curl -L -o captions_schema.json https://huggingface.co/datasets/ezharjan/WebCam254/resolve/main/captions_schema.json
16.1 kB
| { | |
| "$schema": "https://json-schema.org/draft/2020-12/schema", | |
| "$id": "https://huggingface.co/datasets/Ezharjan/WebCam254/resolve/main/captions_schema.json", | |
| "title": "WebCam254 frame record (WebDataset .json member, metadata.jsonl line, metadata/frames.parquet row)", | |
| "description": "Schema version 1.2.0. All paths are relative. Times are ISO 8601 (UTC with Z unless noted).", | |
| "type": "object", | |
| "required": [ | |
| "file_name", | |
| "path", | |
| "camera_id", | |
| "camera_name", | |
| "frame_index", | |
| "caption", | |
| "time", | |
| "illumination", | |
| "camera_pose_overlay", | |
| "view", | |
| "image", | |
| "file_bytes", | |
| "file_bytes_equal_to_previous", | |
| "repeated_image_of", | |
| "flags", | |
| "condition_estimates", | |
| "visual_check" | |
| ], | |
| "properties": { | |
| "file_name": { | |
| "type": "string", | |
| "description": "image path relative to the camera folder, e.g. frames/20260825_232331_00001.jpg" | |
| }, | |
| "path": { | |
| "type": "string", | |
| "description": "image path relative to the dataset root of the unpacked edition: <camera_id>/<file_name>" | |
| }, | |
| "camera_id": { | |
| "type": "string" | |
| }, | |
| "camera_name": { | |
| "type": "string" | |
| }, | |
| "frame_index": { | |
| "type": "integer", | |
| "minimum": 1, | |
| "maximum": 2160, | |
| "description": "running request index NNNNN from the file name" | |
| }, | |
| "caption": { | |
| "type": "string", | |
| "description": "systematic caption (see README.md)" | |
| }, | |
| "time": { | |
| "type": "object", | |
| "properties": { | |
| "request_utc": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ] | |
| }, | |
| "download_completed_utc": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ] | |
| }, | |
| "overlay_exposure_utc": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ] | |
| }, | |
| "image_time_utc": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ] | |
| }, | |
| "image_time_source": { | |
| "enum": [ | |
| "overlay_clock_ocr", | |
| "capture_request_time" | |
| ] | |
| }, | |
| "local_time": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ] | |
| }, | |
| "timezone": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ] | |
| }, | |
| "utc_offset": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ] | |
| } | |
| } | |
| }, | |
| "illumination": { | |
| "type": "object", | |
| "properties": { | |
| "light_phase": { | |
| "enum": [ | |
| "day", | |
| "low_sun", | |
| "civil_twilight", | |
| "nautical_twilight", | |
| "astronomical_twilight", | |
| "night" | |
| ] | |
| }, | |
| "day_period": { | |
| "enum": [ | |
| "morning", | |
| "evening", | |
| null | |
| ] | |
| }, | |
| "sun_altitude_deg": { | |
| "type": [ | |
| "number", | |
| "null" | |
| ] | |
| }, | |
| "sun_azimuth_deg": { | |
| "type": [ | |
| "number", | |
| "null" | |
| ] | |
| }, | |
| "moon_altitude_deg": { | |
| "type": [ | |
| "number", | |
| "null" | |
| ] | |
| }, | |
| "moon_azimuth_deg": { | |
| "type": [ | |
| "number", | |
| "null" | |
| ] | |
| }, | |
| "moon_illuminated_fraction": { | |
| "type": [ | |
| "number", | |
| "null" | |
| ] | |
| }, | |
| "moon_phase": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ] | |
| }, | |
| "lunar_eclipse_phase": { | |
| "enum": [ | |
| "penumbral", | |
| "partial_umbral", | |
| null | |
| ] | |
| } | |
| } | |
| }, | |
| "camera_pose_overlay": { | |
| "type": [ | |
| "object", | |
| "null" | |
| ], | |
| "properties": { | |
| "pan_deg": { | |
| "type": [ | |
| "number", | |
| "null" | |
| ] | |
| }, | |
| "tilt_deg": { | |
| "type": [ | |
| "number", | |
| "null" | |
| ] | |
| }, | |
| "zoom": { | |
| "type": [ | |
| "number", | |
| "null" | |
| ] | |
| }, | |
| "ocr_confidence": { | |
| "type": [ | |
| "number", | |
| "null" | |
| ] | |
| }, | |
| "fields_read": { | |
| "type": "array", | |
| "items": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ] | |
| } | |
| } | |
| } | |
| }, | |
| "view": { | |
| "type": "object", | |
| "properties": { | |
| "view_id": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ] | |
| }, | |
| "assignment": { | |
| "enum": [ | |
| "visually_verified_frame", | |
| "overlay_ptz_match", | |
| "overlay_ptz_near_match", | |
| "temporal_interpolation", | |
| "image_segment_with_anchor", | |
| "image_template_match", | |
| "image_embedding_match", | |
| "image_embedding_cluster", | |
| "single_view_camera", | |
| "unassigned" | |
| ] | |
| }, | |
| "short_description": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ] | |
| }, | |
| "template_correlation": { | |
| "type": [ | |
| "number", | |
| "null" | |
| ] | |
| } | |
| } | |
| }, | |
| "image": { | |
| "type": "object", | |
| "properties": { | |
| "width": { | |
| "type": [ | |
| "integer", | |
| "null" | |
| ] | |
| }, | |
| "height": { | |
| "type": [ | |
| "integer", | |
| "null" | |
| ] | |
| }, | |
| "md5": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ] | |
| }, | |
| "mode": { | |
| "enum": [ | |
| "colour", | |
| "monochrome", | |
| "black", | |
| "undecodable" | |
| ] | |
| }, | |
| "exposure": { | |
| "enum": [ | |
| "normal", | |
| "very_dark", | |
| "overexposed", | |
| null | |
| ] | |
| }, | |
| "luma_mean": { | |
| "type": [ | |
| "number", | |
| "null" | |
| ] | |
| }, | |
| "luma_std": { | |
| "type": [ | |
| "number", | |
| "null" | |
| ] | |
| }, | |
| "luma_p02": { | |
| "type": [ | |
| "number", | |
| "null" | |
| ] | |
| }, | |
| "luma_p50": { | |
| "type": [ | |
| "number", | |
| "null" | |
| ] | |
| }, | |
| "luma_p98": { | |
| "type": [ | |
| "number", | |
| "null" | |
| ] | |
| }, | |
| "frac_dark": { | |
| "type": [ | |
| "number", | |
| "null" | |
| ] | |
| }, | |
| "frac_clipped": { | |
| "type": [ | |
| "number", | |
| "null" | |
| ] | |
| }, | |
| "rgb_mean": { | |
| "type": "array", | |
| "items": { | |
| "type": [ | |
| "number", | |
| "null" | |
| ] | |
| } | |
| }, | |
| "chroma_mean": { | |
| "type": [ | |
| "number", | |
| "null" | |
| ] | |
| }, | |
| "colorfulness": { | |
| "type": [ | |
| "number", | |
| "null" | |
| ] | |
| }, | |
| "sharpness": { | |
| "type": [ | |
| "number", | |
| "null" | |
| ] | |
| }, | |
| "luma_thirds": { | |
| "type": "array", | |
| "items": { | |
| "type": [ | |
| "number", | |
| "null" | |
| ] | |
| } | |
| }, | |
| "dhash": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ] | |
| }, | |
| "mean_abs_diff_prev": { | |
| "type": [ | |
| "number", | |
| "null" | |
| ] | |
| }, | |
| "identical_to_previous": { | |
| "type": [ | |
| "boolean", | |
| "null" | |
| ] | |
| } | |
| } | |
| }, | |
| "file_bytes": { | |
| "type": [ | |
| "integer", | |
| "null" | |
| ] | |
| }, | |
| "file_bytes_equal_to_previous": { | |
| "type": [ | |
| "boolean", | |
| "null" | |
| ] | |
| }, | |
| "repeated_image_of": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ], | |
| "description": "path of an earlier frame with byte-identical content, else null" | |
| }, | |
| "flags": { | |
| "type": "array", | |
| "items": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ] | |
| } | |
| }, | |
| "condition_estimates": { | |
| "type": [ | |
| "object", | |
| "null" | |
| ], | |
| "properties": { | |
| "cloud_cover": { | |
| "enum": [ | |
| "clear_or_few_clouds", | |
| "partly_cloudy", | |
| "mostly_cloudy_or_overcast", | |
| null | |
| ] | |
| }, | |
| "cloud_cover_probabilities": { | |
| "type": [ | |
| "object", | |
| "null" | |
| ], | |
| "properties": { | |
| "clear_or_few_clouds": { | |
| "type": [ | |
| "number", | |
| "null" | |
| ] | |
| }, | |
| "partly_cloudy": { | |
| "type": [ | |
| "number", | |
| "null" | |
| ] | |
| }, | |
| "mostly_cloudy_or_overcast": { | |
| "type": [ | |
| "number", | |
| "null" | |
| ] | |
| } | |
| } | |
| }, | |
| "sun_glare_or_flare": { | |
| "type": [ | |
| "boolean", | |
| "null" | |
| ] | |
| }, | |
| "sun_glare_or_flare_probability": { | |
| "type": [ | |
| "number", | |
| "null" | |
| ] | |
| } | |
| }, | |
| "description": "machine estimates (CLIP ViT-L/14 probes); null outside the domain (colour, sun above the horizon, not repeated)" | |
| }, | |
| "visual_check": { | |
| "type": [ | |
| "object", | |
| "null" | |
| ], | |
| "properties": { | |
| "caption": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ] | |
| }, | |
| "sky_condition": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ] | |
| }, | |
| "sun_visible": { | |
| "type": [ | |
| "boolean", | |
| "null" | |
| ] | |
| }, | |
| "moon_visible": { | |
| "type": [ | |
| "boolean", | |
| "null" | |
| ] | |
| }, | |
| "smoke_plume": { | |
| "type": [ | |
| "boolean", | |
| "null" | |
| ] | |
| }, | |
| "image_mode": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ] | |
| }, | |
| "issues": { | |
| "type": "array", | |
| "items": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ] | |
| } | |
| }, | |
| "source": { | |
| "enum": [ | |
| "contact_sheet_tile", | |
| "ptz_state_check", | |
| "unassigned_cluster_check", | |
| "condition_label_sample" | |
| ] | |
| }, | |
| "labels": { | |
| "type": [ | |
| "object", | |
| "null" | |
| ], | |
| "properties": { | |
| "sky_visible": { | |
| "type": [ | |
| "boolean", | |
| "null" | |
| ] | |
| }, | |
| "cloud_cover": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ] | |
| }, | |
| "fog_low_cloud": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ] | |
| }, | |
| "haze": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ] | |
| }, | |
| "smoke_plume": { | |
| "type": [ | |
| "boolean", | |
| "null" | |
| ] | |
| }, | |
| "precipitation_visible": { | |
| "type": [ | |
| "boolean", | |
| "null" | |
| ] | |
| }, | |
| "sun_glare_or_flare": { | |
| "type": [ | |
| "boolean", | |
| "null" | |
| ] | |
| }, | |
| "lens_contamination": { | |
| "type": [ | |
| "boolean", | |
| "null" | |
| ] | |
| }, | |
| "obstruction": { | |
| "type": [ | |
| "boolean", | |
| "null" | |
| ] | |
| }, | |
| "snow_on_ground": { | |
| "type": [ | |
| "boolean", | |
| "null" | |
| ] | |
| }, | |
| "confidence": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ] | |
| } | |
| } | |
| } | |
| }, | |
| "description": "observations for individually inspected frames, else null; labels only for source condition_label_sample" | |
| } | |
| }, | |
| "$defs": { | |
| "captions_json": { | |
| "description": "captions.json", | |
| "type": "object", | |
| "required": [ | |
| "schema_version", | |
| "dataset", | |
| "paths", | |
| "num_cameras", | |
| "num_frames", | |
| "cameras" | |
| ], | |
| "properties": { | |
| "schema_version": { | |
| "type": "string" | |
| }, | |
| "dataset": { | |
| "const": "WebCam254" | |
| }, | |
| "paths": { | |
| "type": "string" | |
| }, | |
| "num_cameras": { | |
| "const": 254 | |
| }, | |
| "num_frames": { | |
| "const": 548376 | |
| }, | |
| "cameras": { | |
| "type": "array", | |
| "items": { | |
| "type": "object", | |
| "properties": { | |
| "camera_id": { | |
| "type": "string" | |
| }, | |
| "camera_name": { | |
| "type": "string" | |
| }, | |
| "network": { | |
| "type": "string" | |
| }, | |
| "directory": { | |
| "type": "string" | |
| }, | |
| "site_summary": { | |
| "type": "string" | |
| }, | |
| "frame_count": { | |
| "type": "integer" | |
| }, | |
| "frames": { | |
| "type": "array", | |
| "items": { | |
| "type": "object", | |
| "required": [ | |
| "file_name", | |
| "image_time_utc", | |
| "local_time", | |
| "light_phase", | |
| "view_id", | |
| "caption" | |
| ], | |
| "properties": { | |
| "file_name": { | |
| "type": "string", | |
| "description": "relative to the dataset root: <camera_id>/frames/..." | |
| }, | |
| "image_time_utc": { | |
| "type": "string" | |
| }, | |
| "local_time": { | |
| "type": "string" | |
| }, | |
| "light_phase": { | |
| "type": "string" | |
| }, | |
| "view_id": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ] | |
| }, | |
| "caption": { | |
| "type": "string" | |
| }, | |
| "visual_caption": { | |
| "type": "string" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "cameras_json": { | |
| "description": "cameras.json", | |
| "type": "object", | |
| "required": [ | |
| "schema_version", | |
| "dataset", | |
| "num_cameras", | |
| "cameras" | |
| ], | |
| "properties": { | |
| "schema_version": { | |
| "type": "string" | |
| }, | |
| "dataset": { | |
| "const": "WebCam254" | |
| }, | |
| "num_cameras": { | |
| "const": 254 | |
| }, | |
| "cameras": { | |
| "type": "array", | |
| "minItems": 254, | |
| "maxItems": 254, | |
| "items": { | |
| "type": "object", | |
| "properties": { | |
| "camera_id": { | |
| "type": "string" | |
| }, | |
| "camera_name": { | |
| "type": "string" | |
| }, | |
| "camera_name_full": { | |
| "type": "string" | |
| }, | |
| "network": { | |
| "type": "string" | |
| }, | |
| "site_partner_tag": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ] | |
| }, | |
| "directory": { | |
| "type": "string" | |
| }, | |
| "frames_directory": { | |
| "type": "string" | |
| }, | |
| "image_url": { | |
| "type": "string" | |
| }, | |
| "latitude": { | |
| "type": "number" | |
| }, | |
| "longitude": { | |
| "type": "number" | |
| }, | |
| "timezone": { | |
| "type": "string" | |
| }, | |
| "capture": { | |
| "type": "object", | |
| "properties": { | |
| "session_start_utc": { | |
| "type": "string" | |
| }, | |
| "session_end_utc": { | |
| "type": "string" | |
| }, | |
| "interval_s": { | |
| "type": "number" | |
| }, | |
| "planned_duration_s": { | |
| "type": "number" | |
| }, | |
| "scheduled_slots": { | |
| "type": "integer" | |
| }, | |
| "requests_skipped_overrun": { | |
| "type": "integer" | |
| }, | |
| "frames_ok": { | |
| "type": "integer" | |
| }, | |
| "requests_failed": { | |
| "type": "integer" | |
| }, | |
| "failed_requests": { | |
| "type": "array" | |
| } | |
| } | |
| }, | |
| "scene": { | |
| "type": "object", | |
| "properties": { | |
| "site_summary": { | |
| "type": "string" | |
| }, | |
| "overlay": { | |
| "type": "object" | |
| }, | |
| "privacy_masks": { | |
| "type": "boolean" | |
| }, | |
| "night_imaging": { | |
| "type": "string" | |
| }, | |
| "views": { | |
| "type": "array", | |
| "items": { | |
| "type": "object", | |
| "required": [ | |
| "view_id", | |
| "description", | |
| "short_description", | |
| "frames" | |
| ], | |
| "properties": { | |
| "view_id": { | |
| "type": "string" | |
| }, | |
| "description": { | |
| "type": "string" | |
| }, | |
| "short_description": { | |
| "type": "string" | |
| }, | |
| "horizon": { | |
| "type": "string" | |
| }, | |
| "approx_sky_fraction": { | |
| "type": [ | |
| "number", | |
| "null" | |
| ] | |
| }, | |
| "land_cover": { | |
| "type": "array", | |
| "items": { | |
| "type": "string" | |
| } | |
| }, | |
| "notable_objects": { | |
| "type": "array", | |
| "items": { | |
| "type": "string" | |
| } | |
| }, | |
| "camera_hardware_in_view": { | |
| "type": [ | |
| "boolean", | |
| "null" | |
| ] | |
| }, | |
| "determinable": { | |
| "type": "boolean" | |
| }, | |
| "tiles": { | |
| "type": "array", | |
| "items": { | |
| "type": "integer" | |
| } | |
| }, | |
| "merged_view_ids": { | |
| "type": "array", | |
| "items": { | |
| "type": "string" | |
| } | |
| }, | |
| "frames": { | |
| "type": "integer" | |
| } | |
| } | |
| } | |
| }, | |
| "reviewed_tiles": { | |
| "type": "array", | |
| "items": { | |
| "type": "object", | |
| "properties": { | |
| "tile": { | |
| "type": "integer" | |
| }, | |
| "file_name": { | |
| "type": "string" | |
| }, | |
| "view_id": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ] | |
| } | |
| } | |
| } | |
| }, | |
| "unassigned_frames": { | |
| "type": "integer" | |
| }, | |
| "reviewer_notes": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "overlay_ptz_available": { | |
| "type": "boolean" | |
| }, | |
| "overlay_ptz_used_for_view_assignment": { | |
| "type": "boolean" | |
| }, | |
| "light_phase_counts": { | |
| "type": "object" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } |