Train the classifier
- Open a command prompt and change the directory to that containing your Python code
- It’s probably
c:\users\your_username_here\GitHub\Python_Myovision\Python_code
- If you’re stuck, check this introductory example
- It’s probably
-
Type
python py_vision.py train_classifier "..\demos\example_C\configuration_data\train_classifier.xml"
and press enter -
Within a few seconds, you should see a status update in the command window
-
Training the classifier may take a few minutes, but if all goes well, you should see a final status update similar to
Saving classifier model to ..\demos\example_C\classification_model\classification_model.svc
- That’s basically it. You have just created a new classifier system and saved it as a file called
classification_model.svc
in..\demos\example_C\classification_model