pub struct KeyPoint {
pub pt: Point<f64>,
pub size: f64,
pub angle: f64,
pub response: f64,
pub octave: i32,
pub class_id: i32,
}Expand description
Represents a detected keypoint in an image.
Fields§
§pt: Point<f64>Coordinates of the keypoint.
size: f64Diameter of the meaningful keypoint neighborhood.
angle: f64Computed orientation of the keypoint (degrees).
response: f64Strength/response of the keypoint.
octave: i32Octave (pyramid layer) from which the keypoint was extracted.
class_id: i32Object class ID.
Implementations§
Trait Implementations§
impl StructuralPartialEq for KeyPoint
Auto Trait Implementations§
impl Freeze for KeyPoint
impl RefUnwindSafe for KeyPoint
impl Send for KeyPoint
impl Sync for KeyPoint
impl Unpin for KeyPoint
impl UnsafeUnpin for KeyPoint
impl UnwindSafe for KeyPoint
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<C> CloneExpand for Cwhere
C: Clone,
impl<C> CloneExpand for Cwhere
C: Clone,
fn __expand_clone_method(&self, _scope: &mut Scope) -> C
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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