From 98af698a806e41904368c0114f9d8d9f377d9c09 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Fri, 27 Dec 2024 17:54:31 +0530 Subject: Minor refactor --- include/libchelleport.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'include/libchelleport.h') 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(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 extractTextMatches(const char *imagePath); -- cgit v1.3.1