SqueezeBrains SDK 1.18
|
Statistics. More...
Data Structures | |
struct | sb_t_stat_model |
Statistics of a model. More... | |
struct | sb_t_stat_models |
Statistics of a model. More... | |
struct | sb_t_stat |
Statistics of the elaborations done with the function sb_project_detection . More... | |
Functions | |
sb_t_err | sb_stat_format (const sb_t_stat *const stat, char *const str, int str_size) |
Formats the sb_t_stat structure. More... | |
sb_t_err | sb_stat_destroy (sb_t_stat **const stat) |
Destroys the sb_t_stat structure. More... | |
sb_t_err | sb_stat_reset (sb_t_stat *const stat, const sb_t_par *const par) |
Resets the sb_t_stat structure. More... | |
sb_t_err | sb_stat_from_res (sb_t_stat *const stat, const sb_t_res *const res) |
Computes the sb_t_stat from sb_t_res. More... | |
Statistics.
Destroys the sb_t_stat structure.
[in,out] | stat | Pointer to the sb_t_stat structure. |
Formats the sb_t_stat structure.
Interprets the contents of info and converts it to a C-string containing a human-readable version of the corresponding structure.
[in] | stat | Pointer to the sb_t_stat structure. |
[out] | str | String filled by the function. |
[in] | str_size | Size, in bytes, of str |
Computes the sb_t_stat from sb_t_res.
The function accumulates the statistics extracted form the results of the detection of each image.
To evaluate the statistics of a set of images the user have to call the function with the results (sb_t_res) of each image.
To get the results use the function sb_image_info_get_results .
[in,out] | stat | Pointer to the sb_t_stat structure. |
[in] | res | Pointer to the sb_t_res structure. |
Resets the sb_t_stat structure.