From f79c6926def396a071b3debd13d009a51ce791d9 Mon Sep 17 00:00:00 2001 From: Junior Date: Mon, 3 Aug 2026 21:36:19 -0400 Subject: [PATCH] Set ocr to failed text to make them easy to find in the manager --- class_image.php | 1 + 1 file changed, 1 insertion(+) diff --git a/class_image.php b/class_image.php index c1fe56d..7bb1a0d 100644 --- a/class_image.php +++ b/class_image.php @@ -152,6 +152,7 @@ class MTGImage implements JsonSerializable { $text = str_replace("\n", " ", $text); return $this->setOCR($text); } catch ( Exception $e ) { + $this->setOCR("ocr failed"); return $e->getMessage(); } }