vitis::ai::OCRResult - 2.0 English

Vitis AI Library User Guide (UG1354)

Document ID
UG1354
Release Date
2022-01-20
Version
2.0 English

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;
Table 1. Structure vitis::ai::OCRResult member description
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