Disable OpenCV Logging

When we use OpenCV from command line process, sometimes OpenCV will print internal logging messages such as: This might be useful while debugging OpenCV problems but it is a noise if we want to print our own messages to the console. In this case, it is desirable to disable the internal OpenCV logging using the …

History of All Visual C++ Versions

Product Release date C++ version _MSC_VER Visual Studio 2019 16.11 10-Aug-21 14.29 1929 Visual Studio 2019 16.10 25-May-21 14.29 1929 Visual Studio 2019 16.9 02-Mar-21 14.28 1928 Visual Studio 2019 16.9 10-Nov-20 14.28 1928 Visual Studio 2019 16.7 05-Aug-20 14.27 1927 Visual Studio 2019 16.6 19-May-20 14.26 1926 Visual Studio 2019 16.5 16-Mar-20 14.25 1925 …

Git Command Reference

Git Config Git Branch Git Checkout Git Diff Git Commit Git Stash Git Log Git Reset Git Ignore Patterns The rules for the patterns you can put in the .gitignore file are as follows: Blank lines or lines starting with # are ignored. Standard glob patterns work, and will be applied recursively throughout the entire …

Microsoft Terminal

Cost: Opensource (MIT License) URL: https://github.com/microsoft/terminal This is another relatively new open source tool from Microsoft. I absolutely love it and can’t work without it. It is not exactly a terminal but provides tabs to open different terminals installed on Windows. It supports Windows console, PowerShell, all installed distributions in WSL, and Azure in a …

Power toys I cannot work without

I believe every skilled worker needs to have a collection of good quality tools to achieve optimal productivity. For me, a big part of my job is to write code for software development as well as for algorithmic development, testing, debugging, and frequently for learning. As such, I have collected a number of invaluable tools …

Microsoft Power Toys

Microsoft powertoys is about about two years old and I have been using it for few months only. It is not a single tool but a collection of different tools and it is very actively maintained and developed on GitHub. If contains the following tools: Color Picker Fancy Zones File Explorer Image Resizer Keyboard Manager …

Center/Right Align a Widget in QTreeWidget

Qt comes with a QTreeWidget class which can be used to show data in a tree view. It can be used to show hierarchical data using either Model/View framework or by manually creating the hierarchy. The QTreeWidget supports multi-columns for each row and also allows editing of the individual cells. However, sometimes we need to …

Display FPS for VTK on Python

In the last post, I discussed how to get started with VTK on Python. In this post, I will show how to add support to show frames per second (FPS). The idea to calculate FPS is straight forward: keep track of the number of frames (N) that were rendered in last T seconds. Then fps …

Getting Started with VTK for Python

The visualization toolkit (VTK) is a open source library displaying scientific data. VTK is maintained by Kitware, the same company which gave us CMake. VTK is written in C/C++ but it comes with Python bindings and can be installed from https://pypi.org/project/vtk/. In this post, I am going to show how to start using VTK from …

Goodbye Launchy!

I have been using Launchy for last 15 years since it was first released in 2005. I has been an awesome companion since then and saved me tons of time. Simple press Alt + Space and enter the name of the program you want execute and voila! It allowed skins and specifying directories to include …