Questions tagged [createsamples]

7 questions
1
vote
1 answer

opencv_createsamples: command not found ubuntu

I am following Creating your own Haar Cascade OpenCV Python Tutorial But when I get to making the samples I get opencv_createsamples: command not found I am using this to create the samples opencv_createsample -img img.jpg -bg bg.txt -info…
1
vote
1 answer

Segmentation fault error .. using opencv_createsamples

hope you are fine. I was following this tutorial to create my own cascade: https://pythonprogramming.net/haar-cascade-object-detection-python-opencv-tutorial/ ... when I try to create test samples .. it gives me this error --> Create test samples…
1
vote
2 answers

sample of a subsample

I would like to select a sample from a dataset twice. Actually, I don't want to select it, but to create a new variable sampleNo that indicates to which sample (one or two) a case belongs to. Lets suppose I have a dataset containing 40 cases: data…
D. Studer
  • 1,711
  • 1
  • 16
  • 35
1
vote
0 answers

createsample.exe crashes every time

Hi I am trying to create samples using opencv_createsamples.exe but it crashes every time. I've checked different builds, opencv2 and opencv3. I don't know how to overcome this. My command looks like this opencv_createsamples.exe -img…
Fixus
  • 4,631
  • 10
  • 38
  • 67
0
votes
1 answer

How to train cascade using opencv

I want to train my own cascade. At tutorial they say to use opencv_createsamples and opencv_traincascade command. However I cant use that commands. My opencv folder: opencv>> apps >> annotation build createsamples …
Igor Bond
  • 113
  • 8
0
votes
0 answers

Positive samples are not being created

I am trying to create a Haar-classifier for object detection and I am following the next tutorial for Mac: https://github.com/mrnugget/opencv-haar-classifier-training When I get to fire step 5. I get the following output on my terminal with no…
0
votes
1 answer

How to crop images with description file in opencv

I used imagemaker tool to select targets for positive library, and generated a description file, i want to know how i can get the images cropped with the file? Thanks.
ykong
  • 1
  • 4