diff options
| author | Akshay Nair <phenax5@gmail.com> | 2024-12-27 17:54:31 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2024-12-27 17:54:31 +0530 |
| commit | 98af698a806e41904368c0114f9d8d9f377d9c09 (patch) | |
| tree | b09e835b1cf4c678fe557b1ab01905e75ee3922f /include/libchelleport.h | |
| parent | 3d461b234d0b30cb7085251390b264089f447a97 (diff) | |
| download | chelleport-98af698a806e41904368c0114f9d8d9f377d9c09.tar.gz chelleport-98af698a806e41904368c0114f9d8d9f377d9c09.zip | |
Minor refactor
Diffstat (limited to 'include/libchelleport.h')
| -rw-r--r-- | include/libchelleport.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/libchelleport.h b/include/libchelleport.h index b69466e..c022975 100644 --- a/include/libchelleport.h +++ b/include/libchelleport.h @@ -16,9 +16,8 @@ std::chrono::duration_cast<std::chrono::microseconds>(end - start); \ std::cout << label << ": " << duration.count() / 1000.0 << " ms" << std::endl; -extern "C" { -OCRMatch *findWordCoordinates(const char *image_path, /* returns */ int *size); -} +extern "C" OCRMatch *findWordCoordinates(const char *image_path, + /* returns */ int *size); std::vector<OCRMatch> extractTextMatches(const char *imagePath); |
