Я хотел бы реализовать приложение OCR, которое распознало бы текст из фотографий.
Мне удалось выполнить компиляцию и интеграцию Tesseract Engine в iOS, мне удалось получить разумное обнаружение при фотографировании прозрачных документов (или фотографии этого текста с экрана), но для другого текста, такого как указатели, знаки магазина, цветной фон, обнаружение не удалось.
Вопрос: какие препараты для обработки изображений необходимы для лучшего распознавания. Например, я ожидаю, что нам нужно преобразовать изображения в оттенки серого /B & W, а также фиксировать контраст и т.д.
Как это сделать в iOS, есть ли пакет для этого?