DarkHelp  v1.8.6-4
C++ API for the neural network framework Darknet
Looking for a C++ dev who knows OpenCV?
I'm looking for work. Hire me!
Options Struct Reference
Collaboration diagram for Options:

Public Member Functions

 Options ()
 

Public Attributes

DarkHelp::VStr all_files
 
std::string cfg_fn
 
bool done
 
size_t file_index
 
std::string filename
 
bool force_greyscale
 
std::string image_type
 
bool in_slideshow
 
nlohmann::json json
 
bool keep_annotated_images
 
magic_t magic_cookie
 
std::string message_text
 
std::time_t message_time
 
std::string names_fn
 
std::string neural_network_name
 
DarkHelp::NN nn
 
std::string out_dir
 
cv::Size size1
 
bool size1_is_set
 
cv::Size size2
 
bool size2_is_set
 
bool use_json_output
 
int wait_time_in_milliseconds_for_slideshow
 
std::string weights_fn
 

Constructor & Destructor Documentation

◆ Options()

Options::Options ( )
inline

Member Data Documentation

◆ all_files

DarkHelp::VStr Options::all_files

Referenced by init(), main(), and process_image().

◆ cfg_fn

std::string Options::cfg_fn

Referenced by init().

◆ done

bool Options::done

Referenced by init(), main(), and process_image().

◆ file_index

size_t Options::file_index

◆ filename

std::string Options::filename

Referenced by main(), process_image(), and process_video().

◆ force_greyscale

bool Options::force_greyscale

Referenced by init(), process_image(), and process_video().

◆ image_type

std::string Options::image_type

Referenced by init(), and process_image().

◆ in_slideshow

bool Options::in_slideshow

Referenced by init(), and process_image().

◆ json

nlohmann::json Options::json

◆ keep_annotated_images

bool Options::keep_annotated_images

Referenced by init(), main(), and process_image().

◆ magic_cookie

magic_t Options::magic_cookie

Referenced by init(), and main().

◆ message_text

std::string Options::message_text

Referenced by display_current_msg(), and set_msg().

◆ message_time

std::time_t Options::message_time

Referenced by display_current_msg(), and set_msg().

◆ names_fn

std::string Options::names_fn

Referenced by init().

◆ neural_network_name

std::string Options::neural_network_name

Referenced by init(), process_image(), and process_video().

◆ nn

◆ out_dir

std::string Options::out_dir

◆ size1

cv::Size Options::size1

Referenced by init(), process_image(), and process_video().

◆ size1_is_set

bool Options::size1_is_set

Referenced by init(), process_image(), and process_video().

◆ size2

cv::Size Options::size2

Referenced by init(), process_image(), and process_video().

◆ size2_is_set

bool Options::size2_is_set

Referenced by init(), process_image(), and process_video().

◆ use_json_output

bool Options::use_json_output

◆ wait_time_in_milliseconds_for_slideshow

int Options::wait_time_in_milliseconds_for_slideshow

Referenced by init(), and process_image().

◆ weights_fn

std::string Options::weights_fn

Referenced by init().


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