Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

BOWKMeansTrainer constructor

Hi, I have a question regarding BOWKMeansTrainer constructor. Would anyone please tell me what are the parameters of the constructor? I had a look at opencv document, but I could not find any useful information. So far I know it has these parameters BOWKMeansTrainer::BOWKMeansTrainer(int clusterCount, const TermCriteria& termcrit=TermCriteria(), int attempts=3, int flags=KMEANS_PP_CENTERS ) And I know clusterCount is the dictionary size/number of clusters. I also guess that attempts is the K parameter for K-Mean. It means if it's 3 the trainer will calculate 3-Means/3 steps. But I want to know what are the rests task?

Many thanks in advance, Bests,

BOWKMeansTrainer constructor

Hi, I have a question regarding BOWKMeansTrainer constructor. Would anyone please tell me what are the parameters of the constructor? I had a look at opencv document, but I could not find any useful information.

So far I know it has these parameters BOWKMeansTrainer::BOWKMeansTrainer(int clusterCount, const TermCriteria& termcrit=TermCriteria(), int attempts=3, int flags=KMEANS_PP_CENTERS ) And I know clusterCount is the dictionary size/number of clusters. I also guess that attempts is the K parameter for K-Mean. It means if it's 3 the trainer will calculate 3-Means/3 steps.

But I want to know what are the rests task?

Many thanks in advance, advance,

Bests,