Declaration
typedef struct
{
int width,
int height,
std::vector< std::string > words,
std::vector< std::vector< cv::Point > > box,
cv::Mat color_map
} vitis::ai::OCRResult;
Member | Description |
---|---|
width | width of network input. |
height | Height of network input. |
words | vector of recognized words in input pic |
box | vector of box information of the recognized words in input pic |
color_map | color map for the recognized words. only for visual mode |