Ask Your Question

flammxy's profile - activity

2018-12-10 08:59:55 -0500 received badge  Famous Question (source)
2017-09-05 06:49:12 -0500 marked best answer How to training HOG and use my HOGDescriptor?

I want to training data and use HOG algorithm to detect pedestrian. Now I can use defaultHog.setSVMDetector(HOGDescriptor::getDefaultPeopleDetector()); in opencv to detection, but the result is not very good to my testing video. So I want to do training use my database.

I have prepared 1000+ positive sample, and 1000+ negative samples. They are cropped to size 50 * 100, and I have do the list file.

And I have read some tutorials on the internet, they all so complex, sometimes abstruse. Most of them are analyze the source code and the algorithm of HOG. But with only less examples and simple analysis.

Some instruction show that libsvm\windows\svm-train.exe .can be used to training, Can anyone gives an examples according to 1000+ 50*100 positive samples?
For example, like haartraing, we can do it from opencv, like haartraining.exe –a –b with some parameters, and get a *.xml as a result which will be used to people detection?

Or is there any other method to training, and detection? I prefer to know how to use it and the detail procedures. As the detail algorithm, it is not important to me. I just want to implement it.

If anyone know about it, please give me some tips. Thanks

2017-07-04 13:57:26 -0500 received badge  Taxonomist
2016-02-19 23:00:37 -0500 received badge  Great Question (source)
2016-02-11 01:41:58 -0500 received badge  Famous Question (source)
2015-12-08 13:05:08 -0500 received badge  Notable Question (source)
2014-12-09 13:47:48 -0500 marked best answer Why always OpenCV Error: Assertion failed (elements_read == 1) in unknown function ?

error infomation: OpenCV Error: Assertion failed (elements_read == 1) in unknown function, file .. ....\opencv\apps\haartraining\cvhaartraining.cpp, line 1859

I am doing pedestrain detection using haartraining. My positive samples are 900 samles, each is 40x80 , with information ( 1 0 0 40 80 ) and 500 negetive samples, each is 300x200

I have check the parameters, they are all ok. But when doing opencv_haartraining.exe it always shows this error. Could anyone help me?

Thank you

2014-08-17 11:49:43 -0500 received badge  Popular Question (source)
2014-06-03 05:56:11 -0500 received badge  Famous Question (source)
2014-03-27 11:14:03 -0500 received badge  Notable Question (source)
2013-12-21 04:59:26 -0500 received badge  Notable Question (source)
2013-10-30 19:38:09 -0500 asked a question Does anybody know where can I get the GroudTruth of PETS dataset

For people detection. where can I get the location and size of rectangle of pedestrian of PETS dataset?

Thanks

2013-10-25 09:54:58 -0500 received badge  Popular Question (source)
2013-09-13 14:57:46 -0500 asked a question Are there any methods of tracking object frame by frame?

I am now doing tracking object frame by frame using mean shift.

But I found that mean shift can tracking deep colour object but can not tracking light colour object.

Maybe the back-projection cause this problem.

Does anyone know some other simple and fast tracking methods that can track object frame by frame?

Thank you.

2013-09-13 14:31:01 -0500 asked a question How to tracking white object by mean-shift?

Does anyone know how to tracking white object by mean-shift?

I try to tracking object by mean-shift, but find that if the target object is dark or deep colour, it works good.

But if the object is white or light colour, it does not work. It seems like back-projection cause this problem.

How to solve this problem? I do not know how to solve it.

Does anyone have some experience about it?

Thank you.

2013-09-11 11:42:57 -0500 asked a question How to track white object with mean-shift?

Most examples use hue channel to track, but if the target object is white, the hue value is 0. And the result rectangle will shift far away from the object? How to solve it?

Thank you.

2013-08-29 14:51:33 -0500 commented question How to tracking pedestrain by mean shift with RGB 3 channels ?

Does anyone knows how to do it? Help me please. Thank you

2013-08-21 10:53:00 -0500 commented answer Question about parameter of cv::calcBackProject( )

I tried it.

But find the result of ch[3]={2,1,0} is better than ch[3]={0,1,2}, and the result of ch[3]={2,1,0} is still not good. Do you know why it is?

Thank you.

2013-08-21 10:38:45 -0500 asked a question Question about parameter of cv::calcBackProject( )

I am doing it as a part of mean-shift tracking.

calcBackProject( const Mat* images, int nimages, const int* channels, const SparseMat& hist, OutputArray backProject, const float** ranges, double scale=1, bool uniform=true );

The 3rd parameter is: int* channels.

if do it in 1 channel, I know it is define as: int ch[1]={0}, now I want to do in 3 channels (input a RGB 3 channel color image), how should I define it?

int ch[3]={2} ? or int ch[3]={0,1,2}? or int ch[3]={2,1,0}? or int ch[3]={2,2,2}?

Does anyone know it and Could you give me some tips? Thank you.

2013-08-06 14:40:12 -0500 asked a question Why use hue channel of HSV for mean shift tracking?

Usually examples and codes is convert RGB to HSV and split hue channel. I dont know the reason. Can anyone tell me the reason or is there any detail theory or examples about it?

Thank you

2013-08-06 14:02:18 -0500 received badge  Popular Question (source)
2013-08-05 14:48:46 -0500 commented question How to tracking pedestrain by mean shift with RGB 3 channels ?

Hi, thanks for answering my question. The problem I meet is that the results are not good especially when the majority part of the objects I tracking are white, lose the target even 1 frame late. For example the people wear white clothes.

Or when the color of majority part of people's body are not high contrast to the background. So from the test result, it does not work good.

2013-08-05 14:40:15 -0500 asked a question How to tracking pedestrain by mean shift with RGB 3 channels ?

I have found some examples and codes about mean shift. But they all using hue channel of HSV to tracking. The first step is to convert RGB to HSV. But I have the problem that the results are not good especially when the majority part of the objects I tracking are white, lose the target even 1 frame late.

Does anyone know how to mean shift tracking by RGB 3 channels? Or are there any samples or codes about it?

Thank you.

2013-08-05 14:31:59 -0500 commented answer Where is createsamples application?

Yes, I build it by using cmake, and than find createsamples.exe.

2013-07-14 23:06:38 -0500 marked best answer Where is createsamples application?

I am studying the haartraining. From some papers, the author says opencv has it's own createsamples program. But I can not find createsamples.exe or any other createsamples files in the opencv folder. Does anyone can tell me some information about it?

2013-04-30 22:10:09 -0500 commented answer How to training HOG and use my HOGDescriptor?

Thanks a lot.

2013-04-30 22:06:44 -0500 asked a question Are there any new and good algorithms of Car/Vehicle detection?

I have just learned blob tracking and HOG algorithm about car detection. Could anyone gives me some tips of any new and good algorithms? Thanks

2013-04-30 21:59:27 -0500 commented question Are there any new algorithm about pedestrian detection,people counting?

Thank you. But sorry I do not know how to use Latent SVM.

2013-04-18 14:26:34 -0500 asked a question Are there any new algorithm about pedestrian detection,people counting?

Are there any new and good algorithm about pedestrian detection,people counting?

And if I use HOG descriptor to detect pedestrian, are there any other tips to improve the result? Because I find my result is not very good.

Thanks.