Eran Feit Blog posts

CNN Feature Visualization with Activation Maximization in Keras (VGG16)

CNN Feature Visualization with Activation Maximization

What is Class Maximization? Have you ever wondered exactly what a deep learning model visualizes when it detects a specific category? In this comprehensive cnn class activation maximization tutorial, you will look inside the black box of neural networks using Python and Keras. Instead of just passing an image through a pre-trained network like VGG16, […]

CNN Feature Visualization with Activation Maximization in Keras (VGG16) Read More »

Real-Time Object Detection in Python with Voice Commands (OpenCV + YOLOv4-tiny)

How to detect object using voice yolo tutorial

You can find the video here : https://www.youtube.com/watch?v=fd1msoIpM5Q What you’ll build A Python app that listens for your voice command (for example, “person”, “bottle”, “dog”) and highlights only those objects in the webcam stream. We’ll use: By the end, you’ll speak a class name and the app will box just those detections. You can find

Real-Time Object Detection in Python with Voice Commands (OpenCV + YOLOv4-tiny) Read More »

Text detection with Python and Opencv | OCR using EasyOCR

text detection

Text Recognition in Images with OpenCV and EasyOCR This Python script demonstrates how to perform text recognition in image files using the combined power of OpenCV, EasyOCR, and Matplotlib. The process begins by loading an image with text recognition OpenCV techniques, then detecting and extracting text using EasyOCR’s pre-trained English model. The detected text is

Text detection with Python and Opencv | OCR using EasyOCR Read More »

OpenCV Image Comparison in Python: Detect Differences Like a Pro.

OpenCV image comparison

Introduction This tutorial shows how to build an OpenCV image comparison pipeline in Python that detects visual differences between two images and highlights them with bounding boxes.You will learn how to preprocess the input, isolate the two pictures inside a collage, align their sizes, compute pixel-wise differences, reduce noise, and extract clean contours of the

OpenCV Image Comparison in Python: Detect Differences Like a Pro. Read More »

Advanced Motion Detection in Video with OpenCV and Python (MOG2 Optimization Guide)

OpenCV Background Subtraction for Car Detection in Python

Implementing advanced motion detection in video with OpenCV is a fundamental milestone for computer vision engineers building traffic monitoring or automated surveillance pipelines. While basic background subtraction looks simple on paper, deploying it to production requires handling physical environmental noise, dynamic lighting shifts, and hardware limitations. In this guide, we will optimize Python scripts to

Advanced Motion Detection in Video with OpenCV and Python (MOG2 Optimization Guide) Read More »

How to Extract Text from Scanned Books with Python and OpenCV

OpenCV Word Segmentation

Introduction — Bringing Old Pages to Digital Life Optical Character Recognition (OCR) is a technology used to extract text from images which is used in applications like document digitization, license plate recognition and automated data entry. If you’ve ever wanted to digitize a physical book or scanned document, you know that the hardest part is getting

How to Extract Text from Scanned Books with Python and OpenCV Read More »

Image Segmentation in OpenCV with Python and Contours

OpenCV Image Segmentation

Introduction In this tutorial, you will learn a practical pipeline for OpenCV image segmentation in Python.We will convert an image to grayscale, apply a smart binary threshold, detect contours, and then build a mask to extract the main object.This workflow is fast, reproducible, and ideal for object extraction, background removal, and preprocessing for computer vision

Image Segmentation in OpenCV with Python and Contours Read More »

Python Image Segmentation Made Easy with OpenCV and K-means Algorithm

OpenCV Image Segmentation with K-Means in Pytho

Introduction Image segmentation is the process of partitioning an image into meaningful regions (segments) — for example separating foreground from background, isolating objects, or splitting an image into zones of similar color or texture. One classic and relatively simple technique for segmentation is K-means clustering applied in color (or feature) space. In this post, we’ll

Python Image Segmentation Made Easy with OpenCV and K-means Algorithm Read More »

Eran Feit