Even though OpenCV is mainly a Computer Vision Library, it still contains a large set of very powerful mathematical functions, optimization algorithms and even GUI utilities that can be useful in other applications as well. Besides the fact that it’s open source and has a very permissive license, the emphasis on speed and performance which has always been the main goal of OpenCV, makes it even more appealing for commercial grade applications. That was my main motivation behind writing this post, and I want to walk you through it with a classical machine learning example, that is training a multilayer perceptron to classify Iris Flower Dataset entries.Continue reading “Using OpenCV ANN MLP to Train a Model on Iris Flower Dataset”
I just released Perspective Cropper application for Windows platforms. I created this app a few months ago to quickly crop and correct the perspective distortion in a huge set of scanned documents and images. The pictures were taken using my smartphone from papers and documents laid on a table and from a few old family albums. Almost all of them had a lit bit of unwanted borders and perspective distortions and my goal was to just keep the parts I needed and remove the unwanted parts in addition to the correct and upright view of the images, as if they were scanned using a scanner.Continue reading “Perspective Cropper 1.2.1 for Windows”
In this post I’ll describe the way to deal with Windows Registry in terms of writing and reading Registry Keys. This is done using QSettings class in general, so let’s see how, with a couple of simple examples.Continue reading “Working with Windows Registry Using Qt”
This guide is quite similar to my previous How-Tos about building OpenCV from source codes and using them in Qt, but I wanted to created a fresh one and point out a few of the changes made in this recent OpenCV version that requires you to reconfigure your Qt projects just a bit.Continue reading “How to Build and Use OpenCV 4 with Qt5 in macOS Mojave”
It is one thing to become an author, but it is totally another level of joy, to be published by my most favorite publisher in the computer science industry. So, it is with great pleasure that today I can announce that my upcoming book about OpenCV and Qt is available for preordering on Amazon, and also from PacktPub. It’s titled “Computer Vision with OpenCV 3 and Qt5”, and it aims to teach both computer vision and application development for developers who are familiar with C++ (on an intermediate level), but want to learn about powerful cross-platform frameworks such as Qt and OpenCV with hands-on examples and clear instructions. The book is in its final stages of completion, so I’m also excited to announce that our goal is to make it available by the beginning of 2018 and we are working hard to make it happen. Here are the links to preorder:
RAW, or to put it in terms of file extension, CR2 and CRW files are the images produced using Canon EOS cameras. A RAW photo, as it appears from it’s name, is the raw format of the image, meaning it contains the exact binary data that was recorded by a specific camera when the photo was taken.Continue reading “How to handle Canon EOS RAW images in C++/Qt”
This question comes up all the time and to be honest there is no definite answer to this question. To be able to point out in a direction for anyone who is asking “Which programming language should I learn?” , “Which one is the best programming language?” or so one has to understand the types of programming languages.
I released Picture Stamper officially just moments ago, and for the best possible price, ABSOLUTELY FREE, for anyone who needs a tool such as this. For so long I needed an application to stamp my photos before sharing them on the web but in the end I had no other choice but to write it myself because all options were either too complicated and pricy or they were just not what I needed.
The universe said: I do not have any power over your whirling [,why?]
I answered: It is such a “Point” that made me a compass.
Rumi, Diwan-e Shams-e Tabrizi