Skip to content

Commit

Permalink
doc:更新文档函数
Browse files Browse the repository at this point in the history
  • Loading branch information
GengGode committed Nov 10, 2022
1 parent c200b43 commit 0b6b004
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ int main() {
std::string text;
//=========================================================================
{
char *result = libocr::ocr_rec(image_path.c_str(), image_path.size());
char *result = libocr::ocr_file(image_path.c_str(), image_path.size());
text = std::string(result);
libocr::free_char(result);
}
Expand Down
2 changes: 1 addition & 1 deletion README_CH.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ int main() {
std::string text;
//=========================================================================
{
char *result = libocr::ocr_rec(image_path.c_str(), image_path.size());
char *result = libocr::ocr_file(image_path.c_str(), image_path.size());
text = std::string(result);
libocr::free_char(result);
}
Expand Down

0 comments on commit 0b6b004

Please sign in to comment.