Projetos
Ver no GitHub
bikz05/bag-of-words
Sobre
Python Implementation of Bag of Words for Image Recognition using OpenCV and sklearn
Design e mídiaCrescimento medido de estrelas
- em 24 h
- 0
- em 7 dias
- 0
- em 15 dias
- 0
- em 1 mês
- Coletando histórico
Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.
README.md
Originalbag-of-words
Python Implementation of Bag of Words for Image Recognition using OpenCV and
sklearn | Video
Training the classifier
python findFeatures.py -t dataset/train/
Testing the classifier
- Testing a number of images
python getClass.py -t dataset/test --visualize
The --visualize flag will display the image with the corresponding label printed on the image/
- Testing a single image
python getClass.py -i dataset/test/aeroplane/test_1.jpg --visualize
Troubleshooting
If you get
AttributeError: 'LinearSVC' object has no attribute 'classes_'
error, then simply retrain the model.
Explore projetos relacionados
Carregando…