SqueezeBrains SDK 1.18
|
Results of detection. More...
#include <sb.h>
Data Fields | |
int | is_valid |
It is 1 when the fields of the structure are valid, otherwise it is 0. More... | |
sb_t_par | par |
Project parameters. More... | |
sb_t_samples | samples |
Samples found in the image. More... | |
sb_t_ocr_res | ocr |
Result of OCR analysis. More... | |
sb_t_res_model | global |
Global results. More... | |
sb_t_res_models | models |
Models results. More... | |
long long | time_us |
Elaboration time of the image, in us. More... | |
sb_t_devices_par | devices |
The devices used to compute the current results. | |
sb_t_tiles_info * | tiles |
Information about the tiles used to process the image. More... | |
sb_t_version | svl_version |
Library version used to run the SVL with which the current results are obtained. | |
sb_t_err | err |
Error of last image processing with sb_project_detection function . More... | |
Results of detection.
The results are different depending on the project type:
With Surface projects note that:
The structure is managed as a visible handle. To destroy the structure you must call the function sb_res_destroy .
sb_t_err sb_t_res::err |
Error of last image processing with sb_project_detection function .
If the value is different than SB_ERR_NONE all the other parameters of the structure sb_t_res are not to be considered valid with the exception of sb_t_res::is_valid and sb_t_res::par which are valid.
sb_t_res_model sb_t_res::global |
Global results.
In case of more than one model this structure contains the information of all model together. In case of Surface and Deep Surface, in each pixel of the sb_t_surface_res::weight and sb_t_surface_res::model images the model with the maximum weight has been choosen.
int sb_t_res::is_valid |
It is 1 when the fields of the structure are valid, otherwise it is 0.
I.e. the parameter is 1 if almost one elaboration is done.
sb_t_res_models sb_t_res::models |
Models results.
Used only with Surface and Deep Surface projects.
sb_t_ocr_res sb_t_res::ocr |
sb_t_par sb_t_res::par |
Project parameters.
It is valorized with the parameters saved in the project handle when the sb_project_detection function was last called.
sb_t_samples sb_t_res::samples |
Samples found in the image.
It has samples.size of sb_t_sample elements.
Used only with Retina and Deep Cortex projects.
sb_t_tiles_info* sb_t_res::tiles |
Information about the tiles used to process the image.
It is used only for Deep Surface projects.
long long sb_t_res::time_us |
Elaboration time of the image, in us.
Includes the sb_project_detection and sb_project_get_res time.