If you have been working with OpenCV for some time, you should have noticed that in most scenarios OpenCV utilizes CPU, which doesn't always guarantee you the desired performance. To tackle this ...
How To Run Inference Using TensorRT C++ API
In this post, we continue to consider how to speed up inference quickly and painlessly if we already have a trained model in PyTorch. In the previous post We discussed what ONNX and TensorRT are ...
Otsu’s Thresholding with OpenCV
In this post, we will examine Otsu's method for automatic image thresholding. What is Image Thresholding? Image thresholding is used to binarize the image based on pixel intensities. The ...
Build and Install OpenCV 4 for Raspberry Pi
Raspberry Pi is a small ARM computer with a camera, a network controller, and Linux on board. That makes it a good choice for DIY computer vision projects. In this post, we will learn how to build ...
How to Convert a Model from PyTorch to TensorRT and Speed Up Inference
The life of a machine learning engineer consists of long stretches of frustration and a few moments of joy! First, struggle to get your model to produce good results on your training data. You ...
Creating a Virtual Pen And Eraser with OpenCV
Wouldn't it be cool if you could just wave a pen in the air to draw something virtually and it actually draws it on the screen? It could be even more interesting if we didn't use any special hardware ...