Ask Your Question

enco's profile - activity

2016-06-30 07:17:00 -0600 received badge  Self-Learner (source)
2016-06-23 07:17:38 -0600 answered a question How to use train_HOG.cpp

Alright, thank you! I got it!, but now it's throwing an exception like:

OpenCV Error: Assertion failed (0 <= roi.x && 0 <= roi.width && roi.x + roi.width <= m.cols && 0 <= roi.y && 0 <= roi.height && roi.y + roi.height <= m.rows) in Mat, file /home/ubuntu/Documents/opencv-3.1.0/modules/core/src/matrix.cpp, line 508 terminate called after throwing an instance of 'cv::Exception' what(): /home/ubuntu/Documents/opencv-3.1.0/modules/core/src/matrix.cpp:508: error: (-215) 0 <= roi.x && 0 <= roi.width && roi.x + roi.width <= m.cols && 0 <= roi.y && 0 <= roi.height && roi.y + roi.height <= m.rows in function Mat

Aborted (core dumped)

My images are all the size of 64x128. I can't figure out where the problem is. I'm sure that the inputs are o.k. right now.

2016-06-22 20:11:39 -0600 received badge  Student (source)
2016-06-20 14:45:38 -0600 asked a question How to use train_HOG.cpp

Hello,

I am using openCV since 2 weeks and I am having trouble getting along with train_HOG.cpp to train a human detector (https://github.com/Itseez/opencv/blob...).

The issue I have is following, I am not quiet sure which inputs train_HOG.cpp needs. There is pd and nd for the positive and negative directories, and n and p for neg.lst and pos.lst. But how should pos.lst and neg.lst look like? Which values do I have to input there?

I'm glad on every help I get!

Thanks enco

PS: Is there any documentation on this? Or any documentation on how to train a svm completely on your own?