#include "TLD.h"

#include "ImAcq.h"

#include "Gui.h"


위의 항목들을 불러온다.




class Main

{

public:

    tld::TLD *tld;

    ImAcq *imAcq;

    tld::Gui *gui;

    bool showOutput;

bool showTrajectory;

int trajectoryLength;

    const char *printResults;

    const char *saveDir;

    double threshold;

    bool showForeground;

    bool showNotConfident;

    bool selectManually;

    int *initialBB;

    bool reinit;

    bool exportModelAfterRun;

    bool loadModel;

    const char *modelPath;

    const char *modelExportFile;

    int seed;


    Main()

    {

        tld = new tld::TLD();

        showOutput = 1;

        printResults = NULL;

        saveDir = ".";

        threshold = 0.5;

        showForeground = 0;


showTrajectory = false;

trajectoryLength = 0;


        selectManually = 0;


        initialBB = NULL;

        showNotConfident = true;


        reinit = 0;


        loadModel = false;


        exportModelAfterRun = false;

        modelExportFile = "model";

        seed = 0;


        gui = NULL;

        modelPath = NULL;

        imAcq = NULL;

    }


    ~Main()

    {

        delete tld;

        imAcqFree(imAcq);

    }


    void doWork();

};


TLD를 컨트롤 하는 메인 소스코드이다. 간단하군....



'STUDY > OpenTLD' 카테고리의 다른 글

[Class]ForegroundDetector  (0) 2014.04.12
main  (0) 2014.04.01
설치  (0) 2014.04.01

+ Recent posts