-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not detecting humans clearly #6
Comments
I have this problem too. I used mogrify from ImageMagick to crop the negative files from the INRIA person dataset to 64x128. The center regions were chosen using the -gravity Center option. This was done on the pos files too since they were originally 96x160. Other than that, I followed the directions in the tutorial. My output is similar to ganeshchandras's now. |
I wrote a script to segment the negative image files into 64x128 images. Now there are ~8500 negative image files. I ran trainhog with this dataset and now there aren't as many green rectangles, but it fails to detect me in the picture. :( |
I tried downgrading to OpenCV 2.3.1. Still not working. |
Is somebody find a solution for this problem as i am having the same problem with INIRIA dataset |
Same problem, has anybody figured it out ? |
Maybe the trainHOG code is missing a normalisation step (which I assumed the openCV HOG feature calculation already does) when calculating features, as mentioned in the original paper by Dalal and Triggs, explaining the observed results. I will look at this bug when I have some time, and will try to reconstruct the original INRIA dataset training. |
I have the same problem with multiple false positive. I iterate through the images in the INRIAPerson\Test\pos folder and call the detectTest function. I have tried multiple combinations of scale or crop with the images in the train_64x128_H96 folder, but no luck. My console output is: Testing training phase using training set as test set (just to check if training is ok - no detection quality conclusion with this!) Is this due to something with the dataset not being the same as the original? Have anybody ever been able to run this code with a good result, using images not from the learning set? |
I'm having the same problem, has somebody a solution for this problem? @DaHoC |
has anyone found the solution for this problem? facing same problem with inria dataset |
I have been trying to use your code to train an hog from the images from INIRIA database as you have suggested. For the training set i resized the images to 64x128 as it was required and these images were used to train the svm. i have used about 500 positive images and 700 negative images to train. But it is not identifying humans clearly. The output can be seen in the attachments. I request you to help me figure out what the problem might be. The code is exactly the same as it is in your github folder
The text was updated successfully, but these errors were encountered: