Segmentations_sam3
SAM 3 segmentation masks keyed by event and/or artifact
| Column Name | Data Type | Constraints |
|---|---|---|
| id | bigint | NOT NULL |
| created_at | timestamp with time zone | DEFAULT now() NOT NULL |
| event_id | bigint | |
| artifact_id | bigint | |
| frame_index | integer | DEFAULT 0 NOT NULL |
| mask_rle | jsonb | NOT NULL |
| conf | double precision | |
| timestamp_observation | timestamp with time zone | |
| origin_location | extensions.geography | |
| origin_pitch | double precision | |
| origin_heading | double precision | |
| origin_roll | double precision | |
| origin_height | double precision | |
| sensor_pitch | double precision | |
| sensor_yaw | double precision | |
| sensor_roll | double precision | |
| subject_location | extensions.geography | |
| subject_height | double precision | |
| subject_id | bigint |
Security Policies (RLS)
RLS enabled. Herd scope: Herd from linked event/artifact via get_herd_id_for_segmentation.
| Operation | has_herd_ability ability key | Other paths |
|---|---|---|
| SELECT | media.read | Device API key in herd |
| INSERT | media.write | Device API key in herd |
| UPDATE | media.write | Device API key in herd |
| DELETE | media.write | Device API key in herd |
Platform superadmin: FOR ALL bypass where defined.