[−][src]Struct cv::cuda::GpuHog
Data structure that performs Histogram of Gradient (HOG).
Fields
params: HogParams
Hog parameters.
return_score: bool
Should return detection scores
Methods
impl GpuHog
[src]
pub fn new(
win_size: Size2i,
block_size: Size2i,
block_stride: Size2i,
cell_size: Size2i,
nbins: i32
) -> GpuHog
[src]
win_size: Size2i,
block_size: Size2i,
block_stride: Size2i,
cell_size: Size2i,
nbins: i32
) -> GpuHog
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 ObjectDetect for GpuHog
[src]
impl Default for GpuHog
[src]
impl Send for GpuHog
[src]
We can safely send a mutable pointer to a different thread
impl Drop for GpuHog
[src]
impl Debug for GpuHog
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,