diff options
Diffstat (limited to '')
| -rw-r--r-- | cpp/libchelleport.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/cpp/libchelleport.cpp b/cpp/libchelleport.cpp index 67abb06..20c2d4f 100644 --- a/cpp/libchelleport.cpp +++ b/cpp/libchelleport.cpp @@ -9,8 +9,7 @@ #include "../include/libchelleport.h" #include "../include/recognizer.h" -extern "C" { -OCRMatch *findWordCoordinates(const char *image_path, int *size) { +extern "C" OCRMatch *findWordCoordinates(const char *image_path, int *size) { std::vector<OCRMatch> matches; MEASURE("OCR", { matches = extractTextMatches(image_path); }); @@ -22,7 +21,6 @@ OCRMatch *findWordCoordinates(const char *image_path, int *size) { *size = matches.size(); return ptr; } -} std::vector<OCRMatch> extractTextMatches(const char *imagePath) { std::vector<OCRMatch> results; |
