Struct cv::cuda::GpuHog [−][src]
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]
win_size: Size2i,
block_size: Size2i,
block_stride: Size2i,
cell_size: Size2i,
nbins: c_int
) -> 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 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
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,