Evgenii Legotckoi
Evgenii LegotckoiMarch 2, 2016, 12:56 p.m.

Qt Virtual Keyboard Updated with Handwriting Recognition

Translation of the official news, By Rainer Keller

We are proud to announce a new release of Qt Virtual Keyboard with Handwriting Recognition (HWR), improved performance, Nuance T9 integration, and support for Traditional Chinese!

Qt Virtual Keyboard has been updated with new features and a new versioning scheme. Given the recent changes in licensing for commercial functionality only, Qt Virtual Keyboard is now also available under the GPLv3 license for open source users, in addition to commercial Qt licenses. We recently released a technology preview for Qt Virtual Keyboard 2.0, and based on the feedback received, we've made improvements. We have also adopted a new versioning scheme. Due to the upcoming release of Qt 5.6, Virtual Keyboard is still only bundled with commercial installers, open source users need to get the source codes from the repository. With Qt 5.7, Qt Virtual Keyboard will also include open source installers.

Qt Virtual Keyboard is a complete input solution out of the box. The most important features of Qt Virtual Keyboard include:

  • Implementation of handwriting with the Lipi toolkit, which includes alphabetic and numeric recognition (English)
  • Lipi toolkit performance improvements
  • Speed up Handwriting Recognition (HWR) processing
  • HWR full screen mode (on top of the app)
  • HWR integration with Nuance T9 Write
  • Spell checker with Hunspell
  • Support for switching the language during operation (from the application)
  • Traditional Chinese keyboard

Watch the following video to see the latest Qt Virtual Keyboard in action:

HWR fullscreen mode (on top of app)

In the preview technology, handwriting integration only uses the keyboard area as the handwriting area. The new full-screen handwriting mode, which can be used optionally, uses the entire screen as the input area. The full screen handwriting mode can be activated from the keyboard by double tapping the full screen handwriting button. When HWR full screen mode is active, the keyboard is hidden. Input tracing is activated and deactivated by a floating button on the screen. HWR full screen mode is deactivated by double tapping the floating button. Switching from letter to selection mode and back is performed by a single tap on the floating button.

Performance improvement for Lipi toolkit

We use Lipi toolkit as an open source alternative handwriting engine. Based on the preview technology, we found that it does not work very well on weak devices. One obvious reason is that the Lipi toolkit is not optimized for embedded devices. We've done some analysis and now performance has been improved at the level of code optimization. In this regard, we have improved performance by 10-40%.

Speed up processing of recognition results

Qt Virtual Keyboard runs HWR tasks on a separate background thread. This allows the UI thread to continue running while the HWR is running. But recognition results can be obtained even faster by starting recognition while waiting for user input.

Nuance T9 Write HWR integration

Nuance T9 Write is a commercial HWR engine that can be enabled at build time if the user has the appropriate Nuance license. It is faster than the Lipi toolkit on embedded devices. The Nuance T9 Write engine is integrated into Qt Virtual Keyboard as an alternative engine for HWR mode. Nuance T9 Write's initial integration supports Latin languages, but is designed to easily support non-Latin languages in future releases. The Nuance T9 Write integration can also use full screen mode. Currently x86 and ARM architectures are supported.

Spell check with Hunspell

Added spell checker with Hunspell input. Word selection allows the user to activate a predicted word for input correction by touching the word in the input field. Before that, it was not possible to choose a word.

Support for switching the language during operation (from the application)

Early versions supported language switching by pressing a button on the virtual keyboard, but this was not a way for the program to change the language. Because the Qt API did not provide a mechanism for changing the input language, the QInputMethod API provides the current input locale as a read-only property. Now the virtual keyboard API settings have been expanded to include options for controlling the input language.

  • New locale properties, availableLocales and activeLocales added to settings
  • Locale (if defined) is overwritten by the system default locale on startup
  • Locale property can be changed at runtime
  • The availableLocales property is read-only and provides a list of "installed" locales
  • activeLocales is a set of availableLocales that can be activated at runtime. If the list is empty, then all available locales are active

Traditional Chinese

Added input support for traditional Chinese input method (Cangjie). The input method has been ported under the Apache 2.0 license. Qt Virtual Keyboard supports 3 different Chinese input methods:

  • Pinyin (Simplified Chinese)
  • Cangjie
  • Zhuyin

The type of input methods available is configured at compile time.

Cangjie keyboard layout

Pinyin keyboard layout

Zhuyin keyboard layout

Get Qt Virtual Keyboard

Qt Virtual Keyboard is included in the Qt 5.6 commercial package, Qt 5.6.0 final will be released in March. It is currently released as source under the Qt Company's GPLv3 license, and will be part of the release of the Qt 5.7 package. If you are a user of open source projects, please refer to getting the source codes from the repository . If you already have a commercial license, you can choose to install the new Qt Virtual Keyboard with handwriting support shipped with Qt 5.6.

Источник Qt Blog

We recommend hosting TIMEWEB
We recommend hosting TIMEWEB
Stable hosting, on which the social network EVILEG is located. For projects on Django we recommend VDS hosting.

Do you like it? Share on social networks!

Comments

Only authorized users can post comments.
Please, Log in or Sign up
г
  • ги
  • April 24, 2024, 4:51 a.m.

C++ - Test 005. Structures and Classes

  • Result:41points,
  • Rating points-8
l
  • laei
  • April 23, 2024, 10:19 p.m.

C ++ - Test 004. Pointers, Arrays and Loops

  • Result:10points,
  • Rating points-10
l
  • laei
  • April 23, 2024, 10:17 p.m.

C++ - Тест 003. Условия и циклы

  • Result:50points,
  • Rating points-4
Last comments
k
kmssrFeb. 9, 2024, 8:43 a.m.
Qt Linux - Lesson 001. Autorun Qt application under Linux как сделать автозапуск для флэтпака, который не даёт создавать файлы в ~/.config - вот это вопрос ))
Qt WinAPI - Lesson 007. Working with ICMP Ping in Qt Без строки #include <QRegularExpressionValidator> в заголовочном файле не работает валидатор.
EVA
EVADec. 26, 2023, 12:30 a.m.
Boost - static linking in CMake project under Windows Ошибка LNK1104 часто возникает, когда компоновщик не может найти или открыть файл библиотеки. В вашем случае, это файл libboost_locale-vc142-mt-gd-x64-1_74.lib из библиотеки Boost для C+…
J
JonnyJoDec. 25, 2023, 10:38 p.m.
Boost - static linking in CMake project under Windows Сделал всё по-как у вас, но выдаёт ошибку [build] LINK : fatal error LNK1104: не удается открыть файл "libboost_locale-vc142-mt-gd-x64-1_74.lib" Хоть убей, не могу понять в чём дел…
G
GvozdikDec. 19, 2023, 11:01 a.m.
Qt/C++ - Lesson 056. Connecting the Boost library in Qt for MinGW and MSVC compilers Для решения твой проблемы добавь в файл .pro строчку "LIBS += -lws2_32" она решит проблему , лично мне помогло.
Now discuss on the forum
G
GarApril 22, 2024, 6:46 p.m.
Clipboard Как скопировать окно целиком в clipb?
DA
Dr Gangil AcademicsApril 20, 2024, 8:45 p.m.
Unlock Your Aesthetic Potential: Explore MSC in Facial Aesthetics and Cosmetology in India Embark on a transformative journey with an msc in facial aesthetics and cosmetology in india . Delve into the intricate world of beauty and rejuvenation, guided by expert faculty and …
a
a_vlasovApril 14, 2024, 7:41 p.m.
Мобильное приложение на C++Qt и бэкенд к нему на Django Rest Framework Евгений, добрый день! Такой вопрос. Верно ли следующее утверждение: Любое Android-приложение, написанное на Java/Kotlin чисто теоретически (пусть и с большими трудностями) можно написать и на C+…
Павел Дорофеев
Павел ДорофеевApril 14, 2024, 3:35 p.m.
QTableWidget с 2 заголовками Вот тут есть кастомный QTableView с многорядностью проект поддерживается, обращайтесь
f
fastrexApril 4, 2024, 5:47 p.m.
Вернуть старое поведение QComboBox, не менять индекс при resetModel Добрый день! У нас много проектов в которых используется QComboBox, в версии 5.5.1, когда модель испускает сигнал resetModel, currentIndex не менялся. В версии 5.15 при resetModel происходит try…

Follow us in social networks