Struct cv::cuda::GpuHog[][src]

pub struct GpuHog {
    pub params: HogParams,
    pub return_score: bool,
    // some fields omitted
}

Data structure that performs Histogram of Gradient (HOG).

Fields

params: HogParams

Hog parameters.

return_score: bool

Should return detection scores

Implementations

impl GpuHog[src]

pub fn new(
    win_size: Size2i,
    block_size: Size2i,
    block_stride: Size2i,
    cell_size: Size2i,
    nbins: c_int
) -> GpuHog
[src]

Creates a new GpuHog detector.

pub fn return_score(&mut self, should: bool)[src]

Should or not return the detection score

pub fn with_params(params: HogParams) -> GpuHog[src]

Creates a new GpuHog detector with parameters specified inside params.

pub fn set_svm_detector(&mut self, detector: SvmDetector)[src]

Sets the SVM detector.

Trait Implementations

impl Debug for GpuHog[src]

impl Default for GpuHog[src]

impl Drop for GpuHog[src]

impl ObjectDetect for GpuHog[src]

impl Send for GpuHog[src]

We can safely send a mutable pointer to a different thread

Auto Trait Implementations

impl RefUnwindSafe for GpuHog

impl !Sync for GpuHog

impl Unpin for GpuHog

impl UnwindSafe for GpuHog

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, 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.