diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/recognizer.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/recognizer.h b/include/recognizer.h index 3b13fdc..260a139 100644 --- a/include/recognizer.h +++ b/include/recognizer.h @@ -23,8 +23,10 @@ class Recognizer { bool failed = false; public: - Recognizer(int x, int y, int width, int height) - : x(x), y(y), width(width), height(height) { + const char *id; + + Recognizer(const char *id, int x, int y, int width, int height) + : id(id), x(x), y(y), width(width), height(height) { initializeTesseract(); } |
