# opencv_sample_handler Struct Reference

List of all members.

## Public Attributes

Classifier * | classifier
volatile int | detector_busy
volatile int | result_update_flag
volatile int | detector_quit_flag
pthread_t | detector_thread
cv::Mat | detecting_mat
std::vector< Prediction > | predictions
string * | model_file
string * | trained_file
string * | mean_file
string * | label_file
int | width
int | height
char | first_result [4096]
float | first_prob
char | second_result [4096]
float | second_prob
long | milliseconds

## Detailed Description

Definition at line 48 of file opencv_consumer.cpp.

## Member Data Documentation

Classifier* opencv_sample_handler::classifier

Definition at line 50 of file opencv_consumer.cpp.

cv::Mat opencv_sample_handler::detecting_mat

Definition at line 57 of file opencv_consumer.cpp.

volatile int opencv_sample_handler::detector_busy

Definition at line 52 of file opencv_consumer.cpp.

volatile int opencv_sample_handler::detector_quit_flag

Definition at line 54 of file opencv_consumer.cpp.

pthread_t opencv_sample_handler::detector_thread

Definition at line 56 of file opencv_consumer.cpp.

float opencv_sample_handler::first_prob

Definition at line 68 of file opencv_consumer.cpp.

char opencv_sample_handler::first_result[4096]

Definition at line 67 of file opencv_consumer.cpp.

int opencv_sample_handler::height

Definition at line 65 of file opencv_consumer.cpp.

string* opencv_sample_handler::label_file

Definition at line 62 of file opencv_consumer.cpp.

string* opencv_sample_handler::mean_file

Definition at line 61 of file opencv_consumer.cpp.

long opencv_sample_handler::milliseconds

Definition at line 71 of file opencv_consumer.cpp.

string* opencv_sample_handler::model_file

Definition at line 59 of file opencv_consumer.cpp.

std::vector<Prediction> opencv_sample_handler::predictions

Definition at line 58 of file opencv_consumer.cpp.

volatile int opencv_sample_handler::result_update_flag

Definition at line 53 of file opencv_consumer.cpp.

float opencv_sample_handler::second_prob

Definition at line 70 of file opencv_consumer.cpp.

char opencv_sample_handler::second_result[4096]

Definition at line 69 of file opencv_consumer.cpp.

string* opencv_sample_handler::trained_file

Definition at line 60 of file opencv_consumer.cpp.

int opencv_sample_handler::width

Definition at line 64 of file opencv_consumer.cpp.

The documentation for this struct was generated from the following file:

- samples/11_camera_object_identification/opencv_consumer_lib/opencv_consumer.cpp