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

Visual Annotation Toolkit for Ultralytics YOLO

Overview The Ultralytcis ecosystem ships with a lightweight Annotator utility that can overlay detection masks, bounding boxes, oriented boxes, and keypoints on any image or video stream. The snippets below demonstrate typical use-cases. Interactive sweep counter on a video The following example tracks every object that crosses a user-draggable ...

Posted on Wed, 24 Jun 2026 16:42:36 +0000 by neex1233

Zhang Zhengyou Camera Calibration Workflow

Data Storage in OpenCV OpenCV provides flexible data storage through the InputArrayOfArrays interface, which can be implemented by various types: Mat, Mat_<T>, Mat_<T, m, n>, vector<T>, vector<vector<T>>, and vector<Mat>. Consider vector<vector<T>> as an example: the outer vector holds elements (i ...

Posted on Mon, 22 Jun 2026 18:02:21 +0000 by ericw

Image Restoration Using OpenCV Inpainting Techniques

This demonstration illustrates the implemantation of image restoration through inpainting algortihms using the OpenCV library. The application enables interactive masking of image regions follwoed by automated reconstruction of those areas using surrounding pixel data. The program workflow involves loading a source image, allowing users to draw ...

Posted on Thu, 04 Jun 2026 16:00:17 +0000 by the mysox1

Setting Up OpenCV 4.5.0 with MinGW-w64, CMake, and VSCode on Windows 10

1. Prepare the C++ Development Environment with VSCode and MinGW-w64 Download MinGW-w64 from SourceForge. Add the bin folder (e.g., C:\Programs\mingw-w64\bin) to the system PATH. 2. Install CMake Get CMake from the official site. Add the bin directory (e.g., D:\tools\cmake-3.19.1-win64-x64\bin) to PATH. 3. Download OpenCV Sources Fetch the sour ...

Posted on Mon, 18 May 2026 10:02:31 +0000 by quercus

:Video Composition and Enhancement Pipeline with FFmpeg and OpenCV

Processing cryptic video sources requires a multi-stage pipeline to reveal hidden visual information. This walkthrough demonstrates a practical approach using command-line tools and computer vision libraries. Initial Video Composition Two source videos containing concealed countdown sequences were combined using FFmpeg's mixing filter. The dire ...

Posted on Sun, 17 May 2026 13:22:05 +0000 by bmw57

Python Technical Tips for System Monitoring and Communication

1. Time Handling in PyQt5 To retrieve the current system time within a PyQt5 application, use the QDateTime.currentDateTime() method. This provides a Qt-specific way to access date and time information. Alternatively, the standard Python datetime module can also be used. 2. System Performance Monitoring The psutil module allows developers to mo ...

Posted on Sun, 17 May 2026 02:42:46 +0000 by toasty2