[][src]Struct pico_detect::CascadeParameters

pub struct CascadeParameters {
    pub min_size: u32,
    pub max_size: u32,
    pub shift_factor: f32,
    pub scale_factor: f32,
}

Cascade parameters for Detector.

Fields

min_size: u32

minimum size of an object

max_size: u32

maximum size of an object

shift_factor: f32

how far to move the detection window by percent of its size

scale_factor: f32

for multiscale processing: resize the detection window by percent of its size when moving to the higher scale

Implementations

impl CascadeParameters[src]

pub fn new(
    min_size: u32,
    max_size: u32,
    shift_factor: f32,
    scale_factor: f32
) -> Self
[src]

Constructs a new CascadeParameters.

Trait Implementations

impl Debug for CascadeParameters[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> SetParameter for T

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,