Using OpenCV ANN MLP to Train a Model on Iris Flower Dataset

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”

Perspective Cropper 1.2.1 for Windows

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”

Computer Vision with OpenCV 3 and Qt5, Now Available for Preorder

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:

Whirling Compass


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