code_app/imgproc/HGOCRRetImpl.hpp

22 lines
445 B
C++

#ifndef __HGOCRRETIMPL_HPP__
#define __HGOCRRETIMPL_HPP__
#include "../base/HGDef.h"
#include "../base/HGBaseErr.h"
#include <vector>
#include <string>
class HGOCRRetImpl
{
public:
HGOCRRetImpl(const std::vector<std::string> &blockInfo);
~HGOCRRetImpl();
HGResult GetBlockCount(HGUInt *count);
HGResult GetBlockText(HGUInt index, const HGChar** text);
private:
std::vector<std::string> m_blockInfo;
};
#endif /* __HGOCRRETIMPL_HPP__ */