Ask Your Question

claycau's profile - activity

2014-04-23 04:34:08 -0600 answered a question How to detect camera rotation

You can check this paper,"Using vanishing points to correct camera rotation in images". Obviously, it's time consuming to estimate the rotation between two images, and the result is not accurate.Maybe you should consider use another device.

2014-04-23 04:07:56 -0600 commented answer color blob detection and distinguishing

Maybe you don't need to 'compute for all detected blobs the distace to the tracked object', you can just limit a region in previous location and predict the location by its path( you know the shortest may not be the best)

2014-04-22 01:24:53 -0600 commented answer Something confused me about training softcascade

3Q I will try it later~~

2014-01-24 02:53:54 -0600 commented answer imread returning empty matrix in debug, double-checked that I have the correct libs

Got it! I misunderstand your point. Your suggestion is right~

2014-01-23 09:49:48 -0600 commented answer imread returning empty matrix in debug, double-checked that I have the correct libs

Hmm .... Maybe , in my code there is the same problem and I try to solve it by find where the “imread” is. And I find it in the opencv2\highgui.hpp. Obviously, I should cover it in my program.... and it really work in my code = =!

2014-01-23 03:46:55 -0600 answered a question imread returning empty matrix in debug, double-checked that I have the correct libs

try to add #include <opencv2\highgui.hpp> in your code and recompile it

2014-01-23 03:04:27 -0600 commented question Something confused me about training softcascade

Maybe I should try to clip each picture by myself……

2014-01-23 00:28:46 -0600 asked a question Something confused me about training softcascade

I try to make out the detail about how to run train_softcascade.exe. The source code seems it need a config.xml. But there is no doc about how to write it. I try to explain the code , but when I found the dictionary about the "trainPath", as follow

image description

It confused me! Look, there are only walkmen in the picture but no landmark about where the walkman is. It has no info.txt like haartraining need to restrict the object's location in the picture. image description

Is there anybody who knows the reason?

2014-01-22 19:33:00 -0600 commented question About how to use the getList function of class "Algorithm"

3Q U :) Look I should try to learn more about opencv, it's really cool~

2014-01-22 00:45:00 -0600 asked a question About how to use the getList function of class "Algorithm"

By use the getList function of class "Algorithm" we can know which algorithm can invoke.But when I use the latest version of opencv the getList result only have one algorithm "CLANE" The code I use as below:


 #include <opencv\cv.h>
#include <opencv\highgui.h>
#include <opencv2\core\core.hpp>
#include <vector>

using namespace std;


int main( int argc, char** argv )
{
    std::vector<cv::String> algorithms;
    cv::Algorithm::getList(algorithms);
    cout << "Algorithms: " << (int)algorithms.size() << endl;
    for (int i=0; i<(int)algorithms.size(); i++) {
        cout << algorithms[i] << endl;
    }

    getchar();
    return 0;
}

=======

Did U have the same problems?

2014-01-21 09:01:05 -0600 received badge  Student (source)
2014-01-21 08:50:50 -0600 commented answer How to use soft cascade in the latest opencv

Obviously, it need a config file. I try to read the source code to list the format of config file. However, I think the easiest way is to ask somebody who know it ...... heihei
whatever , 3Q U again :) Let me try it ~

2014-01-21 07:35:46 -0600 commented answer How to use soft cascade in the latest opencv

According with the exp result I review your code,if add a "grouprectangles" function for the output location may be better. I found that the training of soft cascade is independent with adaboost. Can I train a detector by myself use haar or hog feature by the latest opencv?

2014-01-21 06:30:07 -0600 commented answer How to use soft cascade in the latest opencv

3Q for your response! ^ ^ Hope it will help others~~

2014-01-21 06:27:46 -0600 received badge  Scholar (source)
2014-01-21 06:27:44 -0600 received badge  Supporter (source)
2014-01-20 21:16:03 -0600 received badge  Editor (source)
2014-01-20 21:12:46 -0600 asked a question How to use soft cascade in the latest opencv

Hi, I have already download the latest opencv from github and successed compile it. I notice that the latest version realize the soft cascade algorithm and I want to test it. But I don't know how to detect a pedestrian use this method. Is there anybody know it? My platform is vs2010+win64+opencv3.00 ,