pub struct RectangleObservation {
pub bounding_box: BoundingBox,
pub confidence: f32,
pub top_left: LandmarkPoint,
pub top_right: LandmarkPoint,
pub bottom_left: LandmarkPoint,
pub bottom_right: LandmarkPoint,
}Available on crate feature
rectangles only.Expand description
A detected quadrilateral with axis-aligned bounding box plus individual corner points (in normalised image coordinates, bottom-left origin).
Fields§
§bounding_box: BoundingBox§confidence: f32§top_left: LandmarkPoint§top_right: LandmarkPoint§bottom_left: LandmarkPoint§bottom_right: LandmarkPointTrait Implementations§
Source§impl Clone for RectangleObservation
impl Clone for RectangleObservation
Source§fn clone(&self) -> RectangleObservation
fn clone(&self) -> RectangleObservation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RectangleObservation
impl Debug for RectangleObservation
Source§impl PartialEq for RectangleObservation
impl PartialEq for RectangleObservation
Source§fn eq(&self, other: &RectangleObservation) -> bool
fn eq(&self, other: &RectangleObservation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RectangleObservation
Auto Trait Implementations§
impl Freeze for RectangleObservation
impl RefUnwindSafe for RectangleObservation
impl Send for RectangleObservation
impl Sync for RectangleObservation
impl Unpin for RectangleObservation
impl UnsafeUnpin for RectangleObservation
impl UnwindSafe for RectangleObservation
Blanket Implementations§
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