From fb24e589290f7ffbee04972eed35fca37facdf1c Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Wed, 25 Dec 2024 19:49:10 +0530 Subject: Minor tesseract optimizations --- src/Chelleport/OCR.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/Chelleport/OCR.hs b/src/Chelleport/OCR.hs index 87cad62..5ee331c 100644 --- a/src/Chelleport/OCR.hs +++ b/src/Chelleport/OCR.hs @@ -1,6 +1,7 @@ module Chelleport.OCR (MonadOCR (..)) where import Chelleport.Types +import Chelleport.Utils (benchmark) import Control.Concurrent (threadDelay) import Control.Monad.IO.Class (MonadIO (liftIO)) import Control.Monad.RWS (MonadReader (ask)) @@ -31,7 +32,6 @@ instance (MonadIO m) => MonadOCR (AppM m) where pure path getWordsInImage filePath = liftIO $ do - print filePath findWordCoordinates filePath <* removeFile filePath findWordCoordinates :: String -> IO [OCRMatch] -- cgit v1.3.1