Здравствуйте! Как настроить распознавание в лендскейп ориентации? В докуметации и примере этого не предусмотрено. Выдает Search region is invalid при переворачивании. Прошу помощи.
RTR Device Orientation
Was this article helpful?
0 out of 0 found this helpful
Comments
4 comments
Обратите внимание на посты: is Orientation other than Portrain supported in AbbyyRtrSDK? и Android sample app crashes when changing from portrait to landscape. Данный вопрос уже ранее обсуждался там.
Спасибо за ответ! Эти посты видел. "you’ll need to restart the service with changed orientation" - что под этим подразумевается? Что конкретно нужно сделать после смены ориентации?
Необходимо в настройках проекта включить Device Orientation > Landscape Left и Landscape Right, а также добавить в код метод для трансляции координат:
В ближайшую неделю появится новая версия Real-Time Recognition SDK, включающая в себя уже дополненный пример, поддерживающий данную функциональность.
In English:
If you want your application works with landscape orientation, you need to enable Device Orientation > Landscape Left and Landscape Right in your project, and implement the method for translating coordinates:
Beginning from the RTR SDK 1 Release 5 with extended Data Capture (the build number 1.0.7.56) our code samples support of landscape mode.
Please sign in to leave a comment.