DocTextFinderQuadInfo Class Documentation
classDocTextFinderQuadInfoNamespace:datalogics_interface
Detailed Description
Bounding box quad information for a character match, including page number.
Referenced by
Uses types
Constructor & Destructor Documentation
DocTextFinderQuadInfo
DocTextFinderQuadInfo()Default constructor. Produces an empty quad-info object on page 0.
DocTextFinderQuadInfo
DocTextFinderQuadInfo(intpage_num, std::vector< Quad >quads)Parameters
page_num: intZero-based page number where the match occurred.
quads: std::vector< Quad >Bounding-box quads covering the match on that page.
Construct a quad-info from a page number and a list of bounding boxes.
Member Function Documentation
get_page_num
intget_page_num()Returns:
The zero-based page number where the matching text quad is located.Gets the page number that the quad was found on.
get_quads
const std::vector< Quad > &get_quads()Returns:
A list of Quad objects representing the bounding boxes of the matched text.Gets the list of bounding box quads for the matched text on this page.