Git Product home page Git Product logo

Comments (5)

willard-yuan avatar willard-yuan commented on July 23, 2024

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.

gregorej avatar gregorej commented on July 23, 2024

@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.

Khanjan14 avatar Khanjan14 commented on July 23, 2024

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.

chifaa avatar chifaa commented on July 23, 2024

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.

chifaa avatar chifaa commented on July 23, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.