pub struct CameraRegion {
pub label: String,
pub bbox: Option<[f64; 4]>,
pub tag: String,
pub short_tag: String,
pub tag_at: TagAt,
pub track: Option<u64>,
pub outline: Vec<[f64; 2]>,
pub measurement: Option<MeasurementView>,
pub finding: bool,
}Expand description
Something found on the frame, in the camera’s pixels.
Fields§
§label: String“part”, “seal tear”, “fiducial”, “person”: the overlay’s colour (board choice S1).
bbox: Option<[f64; 4]>[x0, y0, x1, y1]; absent for a mask drawn alone.
tag: String“part · T45”, “seal tear · 0.91 · 5 frames · 14.3 mm”, “person · blurred”.
short_tag: StringThe phone’s and a tile’s tag: “T45”, “14.3 mm”.
tag_at: TagAtWhere the tag sits.
track: Option<u64>The anonymous track.
outline: Vec<[f64; 2]>A mask’s outline (the Masks layer).
measurement: Option<MeasurementView>A measured length.
finding: boolWhat a watch looks for: drawn selected.
Trait Implementations§
Source§impl Clone for CameraRegion
impl Clone for CameraRegion
Source§impl Debug for CameraRegion
impl Debug for CameraRegion
Source§impl<'de> Deserialize<'de> for CameraRegion
impl<'de> Deserialize<'de> for CameraRegion
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for CameraRegion
impl JsonSchema for CameraRegion
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for CameraRegion
impl PartialEq for CameraRegion
Source§impl Serialize for CameraRegion
impl Serialize for CameraRegion
impl StructuralPartialEq for CameraRegion
Auto Trait Implementations§
impl Forget for CameraRegion
impl Freeze for CameraRegion
impl Move for CameraRegion
impl RefUnwindSafe for CameraRegion
impl Send for CameraRegionwhere
RawVecInner: Send,
impl Sync for CameraRegionwhere
RawVecInner: Sync,
impl Unpin for CameraRegion
impl UnsafeUnpin for CameraRegionwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<[f64; 2]>: UnsafeUnpin,
impl UnwindSafe for CameraRegionwhere
RawVecInner: UnwindSafe,
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
Source§fn with_current_context(self) -> WithContext<Self> ⓘ
fn with_current_context(self) -> WithContext<Self> ⓘ
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more