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:

https://www.amazon.com/Computer-Vision-OpenCV-3-Qt5/dp/178847239X

https://www.packtpub.com/application-development/computer-vision-opencv-3-and-qt5





غافل

دمی سرگرم این، سرگرم آن، غافل منم من
چو این نکته به جان و دل خرم، آسوده ام من
زمین، دریا، هوا، جا و مکان جمله تویی تو
مرا از این همه فانی، یکی باقی، تویی تو
اگر روزم ز سر تا شب به غفلت پا گذارم
فرا آید شبی نو، تا سحر سر بر گریبانت گذارم

How to Get Past the Infamous “Insufficient Count of Samples” Error in OpenCV Cascade Training

Many people who have tried OpenCV’s traincascade tool know about a very disturbing error which (at least at the moment) seems to have no good solution, but nevertheless this issue has a solution (even if not convenient) so we need to stick to what we have at hand. My Cascade Trainer GUI app which also uses OpenCV as the underlying framework is also seen to produce this error with many users so I decided to discuss this and share my solution with you all, but please make sure you put your comment below if you’ve got any questions or better suggestions. So, let’s get down to it.

Continue reading “How to Get Past the Infamous “Insufficient Count of Samples” Error in OpenCV Cascade Training”

How to Use OpenCV in Unity (Example Project)

This is a post that many people have requested recently. I’m going to describe how you can use OpenCV in Unity. Of course we’ll be using official OpenCV libraries and not any assets or existing plugins.  For those of you who aren’t familiar with the subject, Unity is a very popular game engine which allows building games, apps and so called experiences with much ease. Unity allows some modified form of JavaScript and also C# for its scripting. In this example project I’ll use C# since that’s the language I’m familiar with but it shouldn’t be hard to adapt this to JavaScript (but you’re gonna do it yourself if needed, sorry) so let’s start.

Continue reading “How to Use OpenCV in Unity (Example Project)”