Overlaying a mask on top of an image is a common step in visualizing results from computer vision models, especially in tasks like semantic segmentation, object detection, and medical image analysis. This helps developers and researchers easily see which parts of the image the model has identified as belonging to Continue Reading
Python
Extracting RGB Codes from Multi-Class Segmentation Masks with Python
Imagine you’re training a deep learning model for multi-class segmentation, and you have a bunch of segmentation masks where a unique RGB color represents each class (like sky, road, car, etc.). But here’s the catch — how do you know what RGB codes are being used? What if you need Continue Reading
Read Video Files Using OpenCV Python
Reading and processing video files is a common task in computer vision, and OpenCV makes it easy to work with video data. In this article, we’ll go through the process of reading and displaying video files using OpenCV. Whether you’re working on a video analysis project or want to learn Continue Reading
Image Masking with OpenCV AddWeighted
Image masking is a powerful technique used in image processing to manipulate specific parts of an image while leaving other areas untouched. This is particularly useful in applications like object detection, image segmentation, and photo editing. In this tutorial, we’ll explore how to perform image masking using OpenCV addWeighted function. Continue Reading
Read 3D NIFTI Images in Python3
Medical imaging is an essential tool in the diagnosis, treatment, and monitoring of various medical conditions. One of the most widely used medical imaging techniques is Magnetic Resonance Imaging (MRI), which produces three-dimensional images of the human body. These images are saved in a standard file format called NIFTI, which Continue Reading
What is Intersection over Union (IoU) in Object Detection?
Intersection over Union (IoU) is a popular evaluation metric used in the field of computer vision and object detection. It is used to calculate the overlap between two bounding boxes and is used to evaluate the accuracy of object detection algorithms. IoU is a value between 0 and 1 that Continue Reading
Multithreaded TCP File Transfer in Python
Today, we are going to implement a simple file transfer TCP client-server program in the python programming language. Here, the server is able to handle multiple clients simultaneously by using multiple threads. The server assigns each client a thread to handle communication with that client. Outline Architecture Functions of the Continue Reading
Squeeze and Excitation Implementation in TensorFlow and PyTorch
The Squeeze and Excitation network is a channel-wise attention mechanism that is used to improve the overall performance of the network. In today’s article, we are going to implement the Squeeze and Excitation module in TensorFlow and PyTorch. What is Squeeze and Excitation Network? The squeeze and excitation attention mechanism Continue Reading
File Transfer using TCP Socket in Python3
In today’s tutorial, we are going to learn to do file transfer using a TCP socket in the python3 programming language. This is the most basic file transfer program that we can do using a client-server architecture. Here, we are going to do the build a client and a server Continue Reading
Human Image Segmentation with DeepLabV3+ in TensorFlow
In this article, you will learn to perform person segmentation with DeepLabV3+ architecture on human images. Here, we will cover the entire process of image segmentation starting from data processing to evaluation. The entire code is written in Python programming language using TensorFlow 2.5 framework. Table of Content What is Continue Reading