From c9169e5ac6117472d7abeeb8f0b34a72c9b635ec Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Sat, 20 Jan 2018 09:16:39 +0100 Subject: [PATCH] Remove unused cube OCR engine modes (#1281) Since commit cdc35338c53a1af1fcb95473445f2aabfdb3f6d1 Tesseract checks the value passed for `--oem NUM`. That only works as expected when the old (now unused) engine mode values for cube are removed. Signed-off-by: Stefan Weil --- ccstruct/publictypes.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/ccstruct/publictypes.h b/ccstruct/publictypes.h index 25d8d82daa..c23cd269c6 100644 --- a/ccstruct/publictypes.h +++ b/ccstruct/publictypes.h @@ -277,8 +277,6 @@ enum OcrEngineMode { // command-line configs, or if not specified // in any of the above should be set to the // default OEM_TESSERACT_ONLY. - OEM_CUBE_ONLY, // Run Cube only - better accuracy, but slower - OEM_TESSERACT_CUBE_COMBINED, // Run both and combine results - best accuracy OEM_COUNT // Number of OEMs };