Trait opencv::hub_prelude::KeypointsModelTrait
source · pub trait KeypointsModelTrait: KeypointsModelTraitConst + ModelTrait {
fn as_raw_mut_KeypointsModel(&mut self) -> *mut c_void;
fn estimate(
&mut self,
frame: &dyn ToInputArray,
thresh: f32
) -> Result<Vector<Point2f>> { ... }
}
Required Methods§
fn as_raw_mut_KeypointsModel(&mut self) -> *mut c_void
Provided Methods§
sourcefn estimate(
&mut self,
frame: &dyn ToInputArray,
thresh: f32
) -> Result<Vector<Point2f>>
fn estimate(
&mut self,
frame: &dyn ToInputArray,
thresh: f32
) -> Result<Vector<Point2f>>
Given the @p input frame, create input blob, run net
Parameters
- frame: The input image.
- thresh: minimum confidence threshold to select a keypoint
Returns
a vector holding the x and y coordinates of each detected keypoint
C++ default parameters
- thresh: 0.5