I have avoided using QML for long time and always wrote even the most simple applications using Qt Widgets and C++ code but the release of Qt’s Quick Controls 2 and Material Style just made it very irresistible and I had to go for it. Well it didn’t take too long to get a hold of things (for a newcomer) since I had enough programming experience and QML is just too well-structured and easy to learn and use. In this post I’m going to share a project that demonstrates using OpenCV in QML to write beautiful and powerful Android (and other platforms) apps.
This project is already released at http://amin-ahmadi.com/quick-camera-cv and it’s a very resourceful example which contains the following lessons in it:
- How to interact between Qt’s QML and C++ classes
- How to use OpenCV with QML
- How to access a system’s Camera (Android, Windows and so on) using Qt/QML
- And many more …
Here are some screenshots of the program running on my Android Galaxy S4 (Android 5.0):
Please post your questions using Contact Me page or post a comment below.