20 #include "allheaders.h" 34 ASSERT_HOST(pix != NULL && pixGetDepth(pix) == 32 && blob != NULL);
36 int height = pixGetHeight(pix);
37 const int box_width = 5;
41 Box *box = boxCreate(tbox.
left(), height - tbox.
top(),
45 pixRenderBoxArb(pix, box, box_width, 255, 0, 0);
48 pixRenderBoxArb(pix, box, box_width, 0, 255, 255);
51 pixRenderBoxArb(pix, box, box_width, 0, 255, 0);
54 pixRenderBoxArb(pix, box, box_width, 0, 255, 0);
59 pixRenderBoxArb(pix, box, box_width, 255, 255, 0);
const TBOX & bounding_box() const
static void RenderSpecialText(Pix *pix, BLOBNBOX *blob)
BlobSpecialTextType special_text_type() const
virtual ~EquationDetectBase()