Skip to content

Commit

Permalink
..
Browse files Browse the repository at this point in the history
  • Loading branch information
HIllya51 committed Nov 12, 2024
1 parent 9ca1c63 commit f197733
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cpp/wcocr/wcocr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ DECLARE_API bool wcocr_ocr(void *pobj, const char *u8path, void (*cb)(int, int,
CWeChatOCR::result_t res;
if (!obj->doOCR(u8path, &res))
return false;
std::vector<std::wstring> rets;
std::vector<int> xs, ys, xs2, ys2;
for (auto &blk : res.ocr_response)
{
cb(blk.left, blk.top, blk.right, blk.bottom, blk.text.c_str());
Expand Down

0 comments on commit f197733

Please sign in to comment.