From 5262d942c4c2c36529fbe704e7de165044e6dc99 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Tue, 31 Dec 2024 11:43:49 +0530 Subject: Add timing measurement for each section of screen --- include/recognizer.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'include') 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(); } -- cgit v1.3.1