Darknet/YOLO v3.0-97-g3520881-dirty
Object Detection Framework
 
Loading...
Searching...
No Matches
yolo_v2_class.cpp File Reference
Include dependency graph for yolo_v2_class.cpp:

Classes

struct  detector_gpu_t
 

Macros

#define NFRAMES   3
 

Functions

bool built_with_cuda ()
 
bool built_with_cudnn ()
 
bool built_with_opencv ()
 
void check_cuda (cudaError_t status)
 
int detect_image (const char *filename, bbox_t_container &container)
 
int detect_mat (const uint8_t *data, const size_t data_length, bbox_t_container &container)
 
int dispose ()
 
int get_device_count ()
 
int get_device_name (int gpu, char *deviceName)
 
int init (const char *configurationFilename, const char *weightsFilename, int gpu, int batch_size)
 

Variables

static std::unique_ptr< Detectordetector
 

Macro Definition Documentation

◆ NFRAMES

#define NFRAMES   3

Function Documentation

◆ built_with_cuda()

bool built_with_cuda ( )

◆ built_with_cudnn()

bool built_with_cudnn ( )

◆ built_with_opencv()

bool built_with_opencv ( )

◆ check_cuda()

void check_cuda ( cudaError_t  status)
Here is the caller graph for this function:

◆ detect_image()

int detect_image ( const char *  filename,
bbox_t_container container 
)

◆ detect_mat()

int detect_mat ( const uint8_t *  data,
const size_t  data_length,
bbox_t_container container 
)

◆ dispose()

int dispose ( )

◆ get_device_count()

int get_device_count ( )

◆ get_device_name()

int get_device_name ( int  gpu,
char *  deviceName 
)

◆ init()

int init ( const char *  configurationFilename,
const char *  weightsFilename,
int  gpu,
int  batch_size 
)
Here is the caller graph for this function:

Variable Documentation

◆ detector

std::unique_ptr<Detector> detector
static