pub struct BOWKMeansTrainer { /* private fields */ }
Expand description

kmeans -based class to train visual vocabulary using the bag of visual words approach. :

Implementations§

The constructor.

See also

cv::kmeans

C++ default parameters
  • termcrit: TermCriteria()
  • attempts: 3
  • flags: KMEANS_PP_CENTERS

Trait Implementations§

Adds descriptors to a training set. Read more
Returns a training set of descriptors.
Returns the count of all descriptors stored in the training set.
Clusters train descriptors. Read more
Clusters train descriptors. Read more
Wrap the specified raw pointer Read more
Return an the underlying raw pointer while consuming this wrapper. Read more
Return the underlying raw pointer. Read more
Return the underlying mutable raw pointer Read more
Executes the destructor for this type. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.