Comments (5)
OpenCV removes the opencv_contrib since the version 3.0. So you need to compile OpenCVwith opencv_contrib. In my opinion, it's a good idea to choose OpenCv 2.X to run the code.
from bag-of-words.
@gitDawn take a look at my pull request #10. It solves this issue
You will need opencv with opencv_contrib for this.
from bag-of-words.
While training According to descriptor.py we must have equal number of images in both classes which may not be possible for all the database given to you. Here we can count no of images in train folder for both types and than proceed instead of dividing images in first half as class 0 and second half in Class 1.
Thanks.
from bag-of-words.
hi plz i hav anacanda
and i try to run the code and have that issu
File "C:\Users\wiam\findFeatures.py", line 8, in
import sklearn.external.joblib as extjoblib
ModuleNotFoundError: No module named 'sklearn.external'
from bag-of-words.
While training According to descriptor.py we must have equal number of images in both classes which may not be possible for all the database given to you. Here we can count no of images in train folder for both types and than proceed instead of dividing images in first half as class 0 and second half in Class 1.
Thanks.
plz how we can do this.im new in python
from bag-of-words.
Related Issues (18)
- vstack issue HOT 2
- Evaluation
- error HOT 1
- realtime
- TypeError: type other than float or double not supported HOT 1
- module 'cv2' has no attribute 'FeatureDetector_create' HOT 2
- 'xrange' not not defined HOT 1
- Accuracy
- ImportError: cannot import name 'xrange' HOT 1
- kmeans not defined
- Something about the idf HOT 1
- A problem for stacking all the descriptors vertically in a numpy array HOT 1
- 'LinearSVC' object has no attribute 'classes_' HOT 2
- I want to run them from another Python Script HOT 2
- core dumped HOT 2
- issue while trainig the data HOT 1
- ISSUE WHILE TRAINING AND TESTING
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bag-of-words.