Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version
  1. clear() removes the internally saved descriptors, so you'd need to add new ones before training it.

  2. Why do you actually need to train it several times? Actually you need to train your BoWTrainer only once with the whole set of features, then for each image you compute your BoWDescriptor and train a classifier (e.g. SVM) which gives you the class.