#include "Component/GlobalOpts.H"
#include "Component/ModelManager.H"
#include "Component/ModelOptionDef.H"
#include "Component/ModelParam.H"
#include "Component/ModelParamBatch.H"
#include "GUI/XWindow.H"
#include "Image/Image.H"
#include "Image/ColorOps.H"
#include "Image/CutPaste.H"
#include "Image/ShapeOps.H"
#include "Image/Rectangle.H"
#include "Image/MathOps.H"
#include "Image/MatrixOps.H"
#include "Image/Transforms.H"
#include "Image/Convolutions.H"
#include "Media/FrameSeries.H"
#include "Media/TestImages.H"
#include "nub/ref.h"
#include "Raster/GenericFrame.H"
#include "Transport/FrameInfo.H"
#include "Raster/Raster.H"
#include "Util/Types.H"
#include "Util/log.H"
#include "Util/Timer.H"
#include "TestSuite/ObjRecBrain.h"
#include <fstream>
#include <iostream>
#include <iomanip>
#include <string>
#include <unistd.h>
#include <cstdlib>
#include <dlfcn.h>
Go to the source code of this file.
Classes | |
struct | ResultData |
Functions | |
bool | ResultDataCmp (const ResultData &r1, const ResultData &r2) |
int | main (const int argc, const char **argv) |
Variables | |
static const ModelOptionDef | OPT_ObjRecTrainingMode |
static const ModelOptionDef | OPT_ObjRecFilterObject |
static const ModelOptionDef | OPT_ObjRecOutputROCFile |
static const ModelOptionDef | OPT_ObjRecOutputTimingFile |
static const ModelOptionDef | OPT_ObjRecOutputResultsFile |
static const ModelOptionDef | OPT_ObjRecObjectsDBFile |
The brain struct
Test Varius object rec code
Definition in file test-ObjRec.C.
const ModelOptionDef OPT_ObjRecFilterObject [static] |
{ MODOPT_ARG_STRING, "ObjRecFilterObject", &MOC_GENERAL, OPTEXP_CORE, "Binary recognition. Is this object there or not. ", "filter-object", '\0', "<string>", "" }
Definition at line 78 of file test-ObjRec.C.
const ModelOptionDef OPT_ObjRecObjectsDBFile [static] |
{ MODOPT_ARG_STRING, "ObjRecObjectsDBFile", &MOC_GENERAL, OPTEXP_CORE, "The file name to use as the object database ", "objects-db-file", '\0', "<string>", "objects.dat" }
Definition at line 100 of file test-ObjRec.C.
const ModelOptionDef OPT_ObjRecOutputResultsFile [static] |
{ MODOPT_ARG_STRING, "ObjRecOutputResultsFile", &MOC_GENERAL, OPTEXP_CORE, "The file name to output full results information to. " "This will include the frame number, the scene filename, which object we " "had, what we labeled it and the confidence. Only for recognition mode.", "results-file", '\0', "<string>", "" }
Definition at line 93 of file test-ObjRec.C.
const ModelOptionDef OPT_ObjRecOutputROCFile [static] |
{ MODOPT_ARG_STRING, "ObjRecOutputROCFile", &MOC_GENERAL, OPTEXP_CORE, "The file name to output the ROC data to. ", "roc-file", '\0', "<string>", "" }
Definition at line 83 of file test-ObjRec.C.
const ModelOptionDef OPT_ObjRecOutputTimingFile [static] |
{ MODOPT_ARG_STRING, "ObjRecOutputTimingFile", &MOC_GENERAL, OPTEXP_CORE, "The file name to output timing information. ", "timing-file", '\0', "<string>", "" }
Definition at line 88 of file test-ObjRec.C.
const ModelOptionDef OPT_ObjRecTrainingMode [static] |
{ MODOPT_FLAG, "ObjRecTrainingMode", &MOC_GENERAL, OPTEXP_CORE, "Whether to traing the classifier or recognize ", "training-mode", '\0', "", "false" }
Definition at line 73 of file test-ObjRec.C.