All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
cube_control.cpp File Reference
#include "allheaders.h"
#include "cube_object.h"
#include "cube_reco_context.h"
#include "tesseractclass.h"
#include "tesseract_cube_combiner.h"

Go to the source code of this file.

Namespaces

 tesseract
 

Functions

convert_prob_to_tess_certainty

Normalize a probability in the range [0.0, 1.0] to a tesseract certainty in the range [-20.0, 0.0]

char_box_to_tbox

Create a TBOX from a character bounding box. If nonzero, the x_offset accounts for any additional padding of the word box that should be taken into account.

TBOX tesseract::char_box_to_tbox (Box *char_box, TBOX word_box, int x_offset)