Skip to content

Commit

Permalink
allow only 2 errors in the name
Browse files Browse the repository at this point in the history
  • Loading branch information
tmarenko committed May 14, 2023
1 parent 303d437 commit 795285f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/tesseract.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ std::string GetTextFromImage(const cv::Mat &image);

unsigned int LevenshteinDistance(const std::string &s1, const std::string &s2);

bool IsStringsSimilar(std::string s1, std::string s2, double overlap = 0.4);
bool IsStringsSimilar(std::string s1, std::string s2, double overlap = 0.3);

void DownloadTessdataFileIfNecessary(const std::string &language);

Expand Down

0 comments on commit 795285f

Please sign in to comment.