aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/libchelleport.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/libchelleport.h b/include/libchelleport.h
new file mode 100644
index 0000000..8a9a17e
--- /dev/null
+++ b/include/libchelleport.h
@@ -0,0 +1,12 @@
+#include <string>
+
+// NOTE: Remember to update size and alignment in ocr hs module on change
+struct OCRMatch {
+ int startX, startY;
+ int endX, endY;
+ const char *text;
+};
+
+extern "C" {
+OCRMatch *findWordCoordinates(const char *image_path, /* returns */ int *size);
+}