Printed Digit Recognition via Camera Capture with OpenCV

This project implements optical character recognition for printed digits using OpenCV camera capture and template matching. The system processes video frames, isolates digit regions, compares them against stored templates, and transmits results via serial communication. #include <opencv2/opencv.hpp> #include "SerialInterface.hpp&quot ...

Posted on Thu, 13 Aug 2026 16:50:16 +0000 by JoeBrewer

Mastering Conda: Installation, Configuration, and Environment Control

Introduction to Environment Isolation Utilizing Conda allows developers to maintain isolated workspaces for each project, ensuring dependency conflicts are avoided. Each project can operate with its own specific set of libraries and Python versions without interfering with the system-wide installation or other projects. Installation Procedures ...

Posted on Mon, 10 Aug 2026 16:49:45 +0000 by netcoord99

Image Segmentation Using Graph Cut and K-Means Clustering

Objective Understand graph cut operations and implement interactive segmentation by providing foreground and background markers on an image or selecting a region containing the foreground using a bounding box. Implement image segmentation using clustering methods (K-means algorithm). Implementation 1. Interactive Segmentation with Graph Cut I ...

Posted on Mon, 10 Aug 2026 16:43:28 +0000 by apaxson

Creating ASCII Art GIFs with Python

Introduction In our previous discussion, we explored creating custom QR codes. Building upon that foundation, this article demonstrates how to transform images into ASCII art representations where characters replace pixel colors, with each character's color matching the original pixel values. Required Dependencies For image manipulation, we'll ...

Posted on Mon, 03 Aug 2026 16:54:25 +0000 by sgoldenb

Building OpenCV 4.8 from Source on Ubuntu Systems

Downloading OpenCV 4.8 Source Execute the following commands in a terminal to download and extract the source code: wget -O opencv-4.8.zip https://github.com/opencv/opencv/archive/4.8.0.zip unzip opencv-4.8.zip -d opencv-4.8 Installing Build Dependencies Install required compliers and libraries using apt: sudo apt update sudo apt install -y bu ...

Posted on Fri, 31 Jul 2026 16:01:36 +0000 by Rithiur

Implementing Image Gradient and Edge Detection using OpenCV

In digital image processing, calculating the gradient of an image is a fundamental step for edge detection and sharpening. This process involves finding the intensity changes between neighboring pixels. Below are two methods to implement this using C++ and the OpenCV library: a manual pixel-iteration approach and a more optiimzed approach using ...

Posted on Fri, 24 Jul 2026 16:22:35 +0000 by lances

Automating Slider Captcha with Java, Selenium, and OpenCV

Introduction Recently, I was assigned a task to create a web automation script at work. This was my first attempt at writing such a script. While some basic operations were manageable using Selenium alone, automating slider captcha verification proved to be challenging. After combining Selenium with OpenCV, I was able to solve this problem succ ...

Posted on Sat, 18 Jul 2026 16:28:43 +0000 by menriquez

Technical Notes Collection: OpenCV, PyTorch, and Causal Inference

DoWhy Library for Causal Inference The DoWhy library provides a structured approach to causal inference, enabling researchers to estimate causal effects from observational data. Installation: pip install dowhy Basic usage example: import numpy as np import pandas as pd from dowhy import CausalModel import dowhy.datasets # Generate synthetic d ...

Posted on Wed, 08 Jul 2026 17:27:02 +0000 by abbe-rocks

Generating and Decoding QR Codes with Python

Understanding QR Codes Barcode systems encompass both one-dimensional and two-dimensional formats. The traditional linear barcodes found on retail products represent the one-dimensional variety, while QR codes constitute the two-dimensional category. The most prevalent QR code format is QR Code, which stands for Quick Response Code. Examining a ...

Posted on Wed, 08 Jul 2026 16:33:18 +0000 by komlos

Manually Installing the IPP Acceleration Library for OpenCV

Problem Description During the OpenCV build process using CMake, the script attempts to download the Intel Integrated Performance Primitives (IPP) library file (e.g., ippicv_2019_lnx_intel64_general_20180723.tgz). Network restrictions often cause this download to fail, halting the configuration. Solution: Manual Download and Local Configuration ...

Posted on Mon, 29 Jun 2026 16:13:53 +0000 by wisewood