20 #include "allheaders.h" 33 ASSERT_HOST(pix !=
nullptr && pixGetDepth(pix) == 32 && blob !=
nullptr);
35 int height = pixGetHeight(pix);
36 const int box_width = 5;
40 Box *box = boxCreate(tbox.
left(), height - tbox.
top(),
44 pixRenderBoxArb(pix, box, box_width, 255, 0, 0);
47 pixRenderBoxArb(pix, box, box_width, 0, 255, 255);
50 pixRenderBoxArb(pix, box, box_width, 0, 255, 0);
53 pixRenderBoxArb(pix, box, box_width, 0, 255, 0);
58 pixRenderBoxArb(pix, box, box_width, 255, 255, 0);
static void RenderSpecialText(Pix *pix, BLOBNBOX *blob)
BlobSpecialTextType special_text_type() const
virtual ~EquationDetectBase()
const TBOX & bounding_box() const