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…
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…
Reference table mapping every Visual C++ release to its _MSC_VER and supported C++ standard.
Qt comes with a 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…
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…
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++…
SLogLib is a flexible logging library written in C++. It comes with three logging devices: console, file, and memory but often there is a need to show log directly on the user…
Adding thread safety to SLogLib with std::mutex and std::lock_guard.
If you received "_Object arrays cannot be loaded when allow_pickle=False_" while loading a numpy array using it is because numpy has changed the default loading behaviour since…
In the previous post, I discussed a solution to Kaggle's Dogs vs. Cats Challenge using Convolutional Neural Networks. CNN's takes time to train and I tried a number of different…
Dogs vs. cats challenge [1] from Kaggle ended in Jan 2014 but it is still extremely popular for getting started in deep learning. This is because of two main reasons: the data set…
Some time back, I developed a data entry application in Qt5. One of the requirements was to let the user select a single string from a predefined list of string. I developed a…
Qt5 support standard dialogs such as QFileDialog, QFontDialog, and QColorDialog, however, it does not provide a color picker to allow a user to pick a color. Recently, I need a…
Recently, I had to give away a computer with couple of disks in it. I wanted to securely erase data on these disks as I stored personal sensitive information on them. Using a…
This week, at work I had to implement a search box for a software I am working on. The search box is to filter some data dynamically as user types a query. I wanted to show a…
Few weeks ago, I published SLogLib (a cross-platform logging library) on GitHub. I wrote the user manual in a readme.md file as is the standard practice at GitHub. However, since…
Often there is a need to estimate the time it takes for a piece of code to run. This is useful not only for debugging but also for reporting the execution time of lengthy tasks to…
A long time ago when I was doing PhD I was implementing a very complex geometric algorithm for computing intersection of two triangular meshes. There were bugs in code which would…
In this post I will show how to compute area of a facet in . ComputeFacetArea() is a thread-safe functor for computing the area of a given facet in a CGAL::Polyhedron_3. The facet…
In this post I will show how to compute normal vector at a vector in CGAL::Polyhedron_3. is a thread-safe functor for computing the normal vector at a given vertex in a . The…
In this post I will show how to compute edge length for a half-edge in CGAL::Polyhedron_3. ComputeEdgeLength() is a thread-safe functor for computing the edge length of a given…
In this post I will show how to compute normal vector of a facet in CGAL::Polyhedron_3. ComputeFacetNormal() is a thread-safe functor for computing the normal vector of a given…
A small loader that reads vertex coordinates and faces from a Wavefront OBJ file into a CGAL polyhedral surface.