Giter Site home page Giter Site logo

Comments (10)

mrnugget avatar mrnugget commented on July 3, 2024

That's not nearly enough information.

What's the content of positives.txt? And what's in negatives.txt?

from opencv-haar-classifier-training.

Jaylton avatar Jaylton commented on July 3, 2024

positive images in positives.txt and negative in negatives.txt

from opencv-haar-classifier-training.

Jaylton avatar Jaylton commented on July 3, 2024

I could run, but in the code
python ./tools/mergevec.py -v samples/ -o samples.vec
shows this error:
Traceback (most recent call last):
File "mergevec.py", line 170, in
merge_vec_files(vec_directory, output_filename)
File "mergevec.py", line 133, in merge_vec_files
val = struct.unpack('<iihh', content[:12])

what's up?

from opencv-haar-classifier-training.

mrnugget avatar mrnugget commented on July 3, 2024

My question was: what's the content of positives.txt and negatives.txt. Like "what's actually in the file?"

from opencv-haar-classifier-training.

Jaylton avatar Jaylton commented on July 3, 2024

the way to the negative and positive images:
./positive_images/20160726_110252.jpg
./positive_images/20160726_110258.jpg
./positive_images/20160726_110305.jpg
./positive_images/20160726_110310.jpg
./positive_images/20160726_110317.jpg
./positive_images/20160726_110342.jpg
it's worked, thanks, there was another error:
in step 7 shows this error:
  opencv_traincascade: command not found
because? and how to fix?

from opencv-haar-classifier-training.

mrnugget avatar mrnugget commented on July 3, 2024

Did you install opencv?

from opencv-haar-classifier-training.

doganaltinbas avatar doganaltinbas commented on July 3, 2024

@Jaylton how did you fix it?
I have also stuck that point.

from opencv-haar-classifier-training.

Jaylton avatar Jaylton commented on July 3, 2024

@shakesyne https://github.com/wulfebw/mergevec

from opencv-haar-classifier-training.

johnd3v avatar johnd3v commented on July 3, 2024

we have same problem man. i cant proceed to step 6 because there is no vec file created in step 5

from opencv-haar-classifier-training.

michaelvogt avatar michaelvogt commented on July 3, 2024

Yes, see the same problem, no .vec files in sample folder

from opencv-haar-classifier-training.

Related Issues (20)

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.