Visual Neural Network recognizer that breaks up an image into digital image features (nose, mouth, etc) to improve accuracy in object recognition.
Questions tagged [haar-classifier]
412 questions
1
vote
0 answers
opencv_traincascade apparently stops in the middle of train
I'm doing some tests into traincascade, and I saw that in starts of train, the process uses all power of processor, and after a few hours or days apparently stops, because the processor usage doesn't pass 30%. Is it normal? In output, nothing about…

João Paulo Masiero
- 19
- 3
1
vote
0 answers
Detect rectangle shape OpenCv
I need to detect a rectangle shape (card) in real time, using some javascript library like (js Feat or Tracking Js).
I trained a Haar classifier, but I'm not getting the precision i need. So, I am thinking about using a rectangle detector instead…

José Lopez
- 19
- 2
1
vote
0 answers
OpenCV - Extract Features or use Haar training
I am currently working on a Project to detect a Chessboard and also the position of the figures. After taking a photo, the App should scan for known figures (pawn etc.).
My Question: I found two methods of detecting known Objects in an image.
1.…

Alan
- 11
- 2
1
vote
0 answers
How to recompile opencv_traincascade (OpenCV 2.4)?
I would like to know How to compile ONLY the program opencv_traincascade on macOS Sierra.
I have the source code of the traincascade (in the folder /opencv-2.4.13/apps/traincascade/). However, when I go to this folder and type on terminal:
cmake…

Tinh-Chi Tran
- 21
- 2
1
vote
1 answer
opencv_createsamples: Invalid background description file?
I'm trying to run create samples on Ubuntu 16.04 with OpenCV, and I keep coming across this error when it runs. I have about 1960 negative images that I'm trying to generate sample images from. What i'm running in the terminal is:…

AndrewD
- 75
- 7
1
vote
0 answers
opencv_traincascade - reusing stageN file to improve cascade
As we know opencv_createcascade creates stage[0-(N-1)] files after each iteration of training algorithm, where N is a value of numStages parameter.
I've trained cascade.xml with 2 iterations (numStages 2). When my cascade was being trained…

Krzysztof Bargieł
- 143
- 8
1
vote
1 answer
Error using the 'find' command to generate a collection file on opencv
I am facing a problem generating a collection file of the positive images to train the Haar Cascade in OpenCV to detect a car. On every tutorial I found on the internet, it is the same command, however i am unable to execute it.
I am using Command…

Abhijit Nathwani
- 398
- 1
- 5
- 17
1
vote
1 answer
Compute Detected objects OPENCV
I am creating a program the compute peoples using haar cascade . the detection don't give me all people in one frame , but in the next frame i detect the objects that are not detected in the precedent frame .
example : in a video i have theree…

hacene abdessamed
- 559
- 6
- 22
1
vote
2 answers
Opencv_traincascade - After 5 stages - Train dataset for temp stage can not be filled. Branch training terminated
I've looked at this answer, that states that this problem might happen when the description files for the negative images is created with tools different from Opencv_createSamples, but this is not the case here.
The break occurs somewhere between…

Raphael Santos
- 11
- 1
1
vote
0 answers
Opencv with picamera and haar cascades python
Hi I'm trying to detect cars using PiCamera and Haar Cascade but ran into errors.
import numpy as np
import cv2
from picamera import PiCamera
from picamera.array import PiRGBArray
import time
import io
from picamera.array import…

jason1368
- 15
- 5
1
vote
1 answer
Track objects after Haar cascade opencv
I am tracking vehicle in a video. I am using Haar Cascade for vehicle detection. I have successfully detected vehicle and still working on it. I have two outputs, one with rectangles on original frame and one with filled rectangle drawn on a binary…

naveed
- 45
- 6
1
vote
0 answers
Programmcrash after importing the haarcascade
I am using EmguCV(I don't know the exact Version) and C#.
I have created my own haarcascade along to the many tutorials found online, But when it comes to using it inside my own code, I fail. I am using the cascade with this code, but somehow the…

yoko
- 516
- 1
- 3
- 18
1
vote
0 answers
OpenCV 3.0, how to train your cascade
I want create a road signal classificator, i use 4 road signal (Stop, turn left, turn right and roundabout), i read a lot of guide for build a good classifier (http://note.sonots.com/SciSoftware/haartraining.html,…

user3231800
- 153
- 1
- 2
- 14
1
vote
2 answers
Unable to load classifier in OpenCV for Android
I want to use face and eye classifiers in my application. The concept is to copy the contents of the classifiers xml files you have under Resources.Raw and add them to some folder under the application using InputStream and OutputStream, then try to…

Dania
- 1,648
- 4
- 31
- 57
1
vote
1 answer
Haar_Training_Cascade running continuously for long time and nothing happens
enter image description here
opencv_traincascade -data samples -vec samples.vec -bg negative.txt -numPos 8 -numNeg 9 -numStages 2 -w 50 -h 60 -featureType LBP
Here I am doing Haar_cascade_training but after created vector file, When I give the…

Aquib
- 320
- 6
- 20