@camera.ui/sdk / sensor / SegmentationFrame
Interface: SegmentationFrame ​
Defined in: sensor/segmenter.ts:21
Crop handed to SegmenterSensor.segmentObjects, with the object it was cut for.
Extends ​
Properties ​
box ​
box:
BoundingBox
Defined in: sensor/segmenter.ts:23
Box of the object to outline, normalized to this crop.
cameraId? ​
optionalcameraId?:string
Defined in: sensor/detection.ts:55
Camera the frame originated from.
Inherited from ​
data ​
data:
ArrayBuffer|Buffer<ArrayBufferLike>
Defined in: sensor/detection.ts:57
Raw pixel buffer.
Inherited from ​
format ​
format:
"nv12"|"rgb"|"rgba"|"gray"
Defined in: sensor/detection.ts:63
Pixel format: 'rgb' = 3 bytes/pixel interleaved, 'rgba' = 4 bytes/pixel, 'gray' = 1 byte/pixel, 'nv12' = YUV semi-planar.
Inherited from ​
height ​
height:
number
Defined in: sensor/detection.ts:61
Frame height in pixels.
Inherited from ​
id ​
id:
string
Defined in: sensor/detection.ts:53
Unique frame or crop identifier used to map batch results back to inputs.
Inherited from ​
label? ​
optionallabel?:string
Defined in: sensor/detection.ts:67
Trigger label propagated by the coordinator (e.g. 'person', 'vehicle') for secondary detectors.
Inherited from ​
timestamp? ​
optionaltimestamp?:number
Defined in: sensor/detection.ts:65
Capture timestamp in milliseconds since epoch.
Inherited from ​
width ​
width:
number
Defined in: sensor/detection.ts:59
Frame width in pixels.