Darknet/YOLO v3.0-177-gfa2353b
Object Detection Framework
 
Loading...
Searching...
No Matches
darknet.cpp File Reference
Include dependency graph for darknet.cpp:

Functions

void darknet_add_skipped_class (DarknetNetworkPtr ptr, const int class_to_skip)
 This is the C equivalent to Darknet::add_skipped_class().
 
void darknet_clear_skipped_classes (DarknetNetworkPtr ptr)
 This is the C equivalent to Darknet::clear_skipped_classes().
 
void darknet_del_skipped_class (DarknetNetworkPtr ptr, const int class_to_include)
 This is the C equivalent to Darknet::del_skipped_classes().
 
void darknet_fix_out_of_bound_values (DarknetNetworkPtr ptr, const bool toggle)
 This is the C equivalent to Darknet::fix_out_of_bound_values().
 
void darknet_free_neural_network (DarknetNetworkPtr *ptr)
 This is the C equivalent to Darknet::free_neural_network().
 
DarknetNetworkPtr darknet_load_neural_network (const char *const cfg_filename, const char *const names_filename, const char *const weights_filename)
 This is the C equivalent to Darknet::load_neural_network().
 
void darknet_network_dimensions (DarknetNetworkPtr ptr, int *w, int *h, int *c)
 This is the C equivalent to Darknet::network_dimensions().
 
void darknet_set_detection_threshold (DarknetNetworkPtr ptr, float threshold)
 This is the C equivalent to Darknet::set_detection_threshold().
 
void darknet_set_gpu_index (int idx)
 This is the C equivalent to Darknet::set_gpu_index().
 
void darknet_set_non_maximal_suppression_threshold (DarknetNetworkPtr ptr, float threshold)
 This is the C equivalent to Darknet::set_non_maximal_suppression_threshold().
 
void darknet_set_trace (const bool flag)
 This is the C equivalent to Darknet::set_trace().
 
void darknet_set_verbose (const bool flag)
 This is the C equivalent to Darknet::set_verbose().
 
void darknet_show_version_info ()
 This is the C equivalent to Darknet::show_version_info().
 
const char * darknet_version_short ()
 Return the short version string, such as "3.0.163".
 
const char * darknet_version_string ()
 Return the full version string, such as "v3.0-163-g56145bf".
 

Function Documentation

◆ darknet_add_skipped_class()

void darknet_add_skipped_class ( DarknetNetworkPtr  ptr,
const int  class_to_skip 
)

This is the C equivalent to Darknet::add_skipped_class().

Here is the call graph for this function:

◆ darknet_clear_skipped_classes()

void darknet_clear_skipped_classes ( DarknetNetworkPtr  ptr)

This is the C equivalent to Darknet::clear_skipped_classes().

Here is the call graph for this function:

◆ darknet_del_skipped_class()

void darknet_del_skipped_class ( DarknetNetworkPtr  ptr,
const int  class_to_include 
)

This is the C equivalent to Darknet::del_skipped_classes().

Here is the call graph for this function:

◆ darknet_fix_out_of_bound_values()

void darknet_fix_out_of_bound_values ( DarknetNetworkPtr  ptr,
const bool  toggle 
)

This is the C equivalent to Darknet::fix_out_of_bound_values().

Here is the call graph for this function:

◆ darknet_free_neural_network()

void darknet_free_neural_network ( DarknetNetworkPtr ptr)

This is the C equivalent to Darknet::free_neural_network().

Here is the call graph for this function:

◆ darknet_load_neural_network()

DarknetNetworkPtr darknet_load_neural_network ( const char *const  cfg_filename,
const char *const  names_filename,
const char *const  weights_filename 
)

This is the C equivalent to Darknet::load_neural_network().

Here is the call graph for this function:

◆ darknet_network_dimensions()

void darknet_network_dimensions ( DarknetNetworkPtr  ptr,
int *  w,
int *  h,
int *  c 
)

This is the C equivalent to Darknet::network_dimensions().

Here is the call graph for this function:

◆ darknet_set_detection_threshold()

void darknet_set_detection_threshold ( DarknetNetworkPtr  ptr,
float  threshold 
)

This is the C equivalent to Darknet::set_detection_threshold().

Here is the call graph for this function:

◆ darknet_set_gpu_index()

void darknet_set_gpu_index ( int  idx)

This is the C equivalent to Darknet::set_gpu_index().

Here is the call graph for this function:

◆ darknet_set_non_maximal_suppression_threshold()

void darknet_set_non_maximal_suppression_threshold ( DarknetNetworkPtr  ptr,
float  threshold 
)

This is the C equivalent to Darknet::set_non_maximal_suppression_threshold().

Here is the call graph for this function:

◆ darknet_set_trace()

void darknet_set_trace ( const bool  flag)

This is the C equivalent to Darknet::set_trace().

Here is the call graph for this function:

◆ darknet_set_verbose()

void darknet_set_verbose ( const bool  flag)

This is the C equivalent to Darknet::set_verbose().

Here is the call graph for this function:

◆ darknet_show_version_info()

void darknet_show_version_info ( )

This is the C equivalent to Darknet::show_version_info().

Here is the call graph for this function:

◆ darknet_version_short()

const char * darknet_version_short ( )

Return the short version string, such as "3.0.163".

See also
DARKNET_VERSION_SHORT

◆ darknet_version_string()

const char * darknet_version_string ( )

Return the full version string, such as "v3.0-163-g56145bf".

See also
DARKNET_VERSION_STRING