This article explains the principles of first‑generation biometrics, introduces finger‑vein recognition as a more secure alternative, and details a complete OpenCV workflow—including Gaussian smoothing, histogram equalization, edge detection, SIFT feature extraction, and knnMatch—to preprocess and match finger‑vein images.
This article explains how to perform image edge enhancement by installing PHP and the OpenCV library, importing images, invoking OpenCV functions, selecting edge detection algorithms such as Sobel or Canny, processing the image with custom code, and displaying or saving the enhanced result.
This article reviews ten state‑of‑the‑art single‑image dehazing methods—including DehazeNet, MSCNN, AOD‑Net, NLD, SSLD, EPDN, DAD, PSD, MSBDN and GFN—detailing their underlying atmospheric scattering models, network architectures, training pipelines, advantages, drawbacks, and providing links to papers, code repositories and illustrative results.
Shopee’s unified Image Service consolidates upload, processing, and delivery into a single platform that overcomes legacy fragmentation and heterogeneous networks through resumable SDKs, adaptive ID schemes, link‑level and HTTP/3 transport optimizations, dynamic CDN scheduling, and device‑aware resizing, boosting upload success to 99.67 %, halving latency, cutting storage by 25 % and bandwidth by 56 % while markedly improving app performance.
This tutorial demonstrates how to set up PHP and OpenCV, install necessary libraries, write and run a PHP script that detects faces and extracts facial landmarks, and saves the annotated image, providing a practical introduction to facial landmark detection in computer vision.
This article explores image processing techniques from basic filters to advanced OpenCV applications, demonstrating how WebAssembly enables high-performance image processing in web browsers.
To prevent storing duplicate remote images on a PHP server, this guide explains two techniques—generating a unique filename from the image URL or from the image content using MD5 hashing—along with complete PHP code examples that check for existing files before saving.
WeChat’s palm‑payment combines unique palm‑texture and vein data with advanced imaging and AI algorithms to verify identity, offering large‑scale deployment, seamless user experience, and strong anti‑spoofing measures while addressing real‑world challenges like dirty or injured hands.
AI securitybiometric authenticationfinancial technology
This article introduces eight fundamental OpenCV examples—including image reading, display, grayscale conversion, edge detection, resizing, Gaussian blur, and face detection—providing concise Python code snippets and explanations to help readers quickly apply these common computer‑vision techniques.
This article introduces twelve completely free online tools—from image placeholders and background removers to CSS gradient generators and code screenshot services—that can dramatically boost the efficiency of programmers, designers, students, and office workers by simplifying common visual and development tasks.
This article presents an iOS OpenGLES 2D experiment that demonstrates a face‑slimming photo‑editing demo, explains the mesh‑grid warping algorithm, shader debugging techniques, perspective and affine transformations, and provides full source code and usage instructions.
This article explains how moving image preprocessing and post‑processing to GPU with the open‑source CV‑CUDA library dramatically reduces system complexity, eliminates CPU‑GPU bottlenecks, and delivers up to thirty‑fold performance gains for computer‑vision workloads across training and inference stages.
This article explains how to use PHP's GD extension and the JpGraph library to create, manipulate, and output images—including canvases, colors, text, CAPTCHA generation, watermarking, and statistical charts—while providing complete code examples and configuration steps.
This article outlines a four‑step workflow to improve VR scene quality—covering hardware upgrades, optimized shooting setups, advanced image preprocessing, and custom color‑filter styling—demonstrating how systematic enhancements and blind testing can produce visually appealing, high‑quality VR experiences.
This article details a method to improve detection and decoding of small QR codes in iOS image previews by combining OpenCV‑based detection with AVFoundation‑based recognition, describing multi‑stage image preprocessing, region‑specific scaling, and code snippets that illustrate the implementation.
This article explains the optical principles of bokeh (scatter blur), describes a depth‑aware variable‑focus algorithm developed by Kuaishou’s audio‑video team, and details practical optimizations such as saliency detection, edge‑preserving weighting, and adaptive spot‑light effects that enable realistic, customizable holiday video filters.
This article presents thirteen advanced Python scripts covering tasks such as internet speed testing, Google searching, web automation, lyric retrieval, EXIF extraction, OCR, image cartoonization, recycle bin cleaning, image enhancement, Windows version detection, PDF-to-image conversion, hex-to-RGB conversion, and website status checking, each with code examples.
This guide shows how to install ImageMagick on CentOS 8, use the convert command to change image formats, batch‑process files with a Bash script, rotate or flip images, append pictures, and resize them, providing practical command‑line examples and tips.
This article explains how to safely process uploaded file names, sanitize file contents, set appropriate Linux permissions, and handle file storage in PHP, while also providing code examples and a brief announcement for a PHP training class.
This article describes how OCR technology is used in a game marketplace to automatically extract skin parameters from user‑uploaded images, outlines methods for separating owned skin regions from background using color analysis, and presents a tolerant matching solution based on Rabin‑Karp hashing to handle OCR errors.
The article describes JD's AI‑driven UI traversal framework that combines traditional view‑tree dumping, image‑based segmentation, OCR and YOLO detection to automatically explore, assert and handle dynamic elements across Android, iOS, H5 and mini‑programs, improving testing efficiency and reducing production incidents.
This article demonstrates how to use Python libraries such as itchat, jieba, matplotlib, snownlp, and TencentYoutuyun to retrieve WeChat friend information and perform data analysis on gender distribution, avatar usage, signature sentiment, and geographic location, presenting results with charts and word clouds.
The article explains common color models such as grayscale, RGB and YUV, describes image fundamentals like resolution and aspect ratio, outlines typical storage formats (RGB, YUV420P, NV12/NV21) and their bit‑depth considerations, and introduces video basics including frame rate, compression stages and HDR mapping.
This article presents a hybrid pipeline combining traditional computer vision techniques and deep learning models to automatically extract and verify text background colors in UI automation screenshots, effectively addressing challenges like limited training data and complex borders to significantly reduce manual inspection costs while achieving high accuracy and robustness in production environments.
This guide shows how to deploy a Python‑based image‑to‑sketch function on Alibaba Cloud Serverless Function Compute, automatically converting photos uploaded to one OSS bucket into sketch images stored in another bucket, covering prerequisites, environment setup, code implementation, deployment steps, testing, and troubleshooting.
This article introduces the most popular Python libraries for image processing—including scikit‑image, NumPy, SciPy, Pillow, OpenCV, SimpleCV, Mahotas, SimpleITK, pgmagick, and Pycairo—explains their core features, and provides concise code snippets demonstrating tasks such as filtering, template matching, masking, blurring, and visualisation.
This article describes a step‑by‑step iOS implementation that converts example car images into bitmap points, scans edges, removes duplicate points, compensates missing vertices, and finally builds a closed BezierPath to guide 360° vehicle photography, including full Objective‑C code snippets.
This article walks through a Python OCR solution for a blank image output problem, demonstrates a working ddddocr code snippet, and suggests an alternative OpenCV preprocessing step, providing clear screenshots and concise explanations for effective image text extraction.
A middle‑aged Android developer recounts breaking his child's "Niu Ting Ting" device, then details how he recreated its functionality by integrating OpenCV‑based paper detection, OCR, and TTS into a mobile app, complete with code snippets and performance results.
This article walks through building a Python3 program that uses the Pillow library to identify skin regions in images, applies color‑space heuristics to classify pixels, merges connected skin areas, and decides whether an image is pornographic based on configurable rules, complete with code samples and testing results.
This article reviews image quality assessment (IQA) methods—including full‑reference, reduced‑reference, and no‑reference approaches—covers typical datasets and evaluation metrics, describes CNN‑based models such as WaDIQaM, DBCNN and hyperIQA, and details a customized IQA solution deployed at 58.com to filter and rank recruitment images, achieving a reduction of bad‑image rate from 9% to 0%.
The article describes how Ant Group's AI visual anti‑fraud system, built by vision engineers, combats large‑scale QR‑code fraud targeting beverage bottle caps, detailing the black‑gray industry's tactics, the model's rapid detection capabilities, continuous unsupervised learning upgrades, and its broader applications in remote‑sensing and risk management.
The article explains how to use Python to build a mosaic image generator that transforms any picture into a mosaic by calculating average HSV colors of source images, dividing the target image into color blocks, replacing them with matching images, and blending the result, complete with code examples.
This article demonstrates how to build a hand‑gesture detection system in Python using OpenCV, covering video capture, YCrCb‑based skin detection, contour extraction, and provides the complete source code for reproducing the results.
This tutorial explains how to build a Python program that detects nude images by analyzing skin-colored regions with Pillow, covering project setup, image preprocessing, pixel classification using RGB/HSV/YCrCb formulas, region merging, decision rules, and command‑line usage with optional visualization.
This tutorial walks through installing OpenCV, selecting an image, converting it to grayscale, inverting it, applying Gaussian blur, and finally combining the results to generate a pencil‑sketch effect, with complete Python code and display commands.
This article investigates the mismatch between iOS camera preview and captured images in VIN recognition, explains the aspect‑ratio scaling cause, derives compensation formulas, and provides Objective‑C code to adjust crop rectangles for accurate framing.
An in‑depth look at MonaLisa, an AI‑driven visual UI inspection platform that automates pixel‑level checks by converting design files to HTML, matching DOM structures, and leveraging OpenCV and MobileNetV2 to generate reports, reduce manual rework, and streamline front‑end development workflows.
This article presents a Python-based tutorial for cartoonizing GIFs and videos using PyTorch models, detailing environment setup, core network architecture, processing functions, and practical results with code snippets and usage instructions, including visual examples.
This article demonstrates how to use Python, the face_recognition library, and OpenCV/Pillow to automatically detect facial landmarks in CelebA images, generate and align mask overlays, and save both masked and binary mask versions for computer‑vision research and dataset augmentation.
This article demonstrates how to use the Python face_recognition library and Pillow to detect facial landmarks, generate realistic mask overlays, and produce both masked and binary mask images from the open‑source FaceMask_CelebA dataset, complete with full source code.
This tutorial explains how to reverse an animated GIF by loading it with Pillow, extracting each frame, reversing the frame order, and saving the result as a new GIF, providing complete Python code and step‑by‑step instructions.
This article explains how to resize images using OpenCV's cv2.resize function and how to scale multi‑dimensional tensors in PyTorch with torch.nn.functional.interpolate, providing detailed parameter descriptions and practical code examples for both single images and batch processing.
This article documents the author’s step‑by‑step journey of building an OCR system for recognizing Chinese characters in a card‑game UI, covering game selection, technical background, data generation, deep‑learning model training with CRNN, real‑image data collection, optimization attempts, and final performance evaluation.
This article details the engineering optimizations applied to the image cropping stage of Kuaishou's YKit AI SDK, covering instruction-level fixes, SIMD acceleration, I/O cache improvements, algorithmic refinements, parallel processing, and device‑tier strategies to achieve up to 4.6× speedup on mobile devices.
This tutorial shows how to use Python, OpenCV, and Pillow to capture, process, and animate Wuhan University’s cherry blossom scenes, turning pixel data into a time‑lapse video with custom text overlays and frame‑by‑frame control.
This tutorial demonstrates how to register for Baidu AI, obtain an AccessToken, and use a custom PHP Curl wrapper to call the Baidu image‑to‑anime API, converting a regular photo into an anime‑style avatar, with full code examples.
The article explains how a content middle platform adopted serverless architecture—combining FaaS and BaaS—to build a cost‑effective, highly scalable image‑production service, illustrating self‑contained functions, synchronous pipelines, event‑driven processing, and workflow orchestration that reduce maintenance, accelerate deployment, and simplify operations.
This tutorial shows how to use Python, ADB, and OpenCV to automate the mobile game Princess Connect, covering environment setup, device communication, screen capture, image matching, OCR, and script snippets for clicking, typing, and switching accounts.
This tutorial demonstrates how NumPy can be used to generate and display grayscale, color, gradient, and colormap‑enhanced images in Python with just a few lines of code, covering module import, array creation, image conversion, and advanced color mapping techniques.
Using Jimp, the author scans a designer‑supplied point‑map image—where each 1 px marker’s color encodes a board square type—to automatically extract (x, y) coordinates, merge adjacent pixels via region‑growing for visibility, output a JSON layout, and drive front‑end placement of Monopoly‑style tiles.
This open‑source project implements a Spring Boot and Maven based license‑plate detection and training system in Java, leveraging OpenCV and JavaCPP, supporting multiple plate colors, SVM and ANN algorithms, and providing a B/S architecture with SQLite, Swagger documentation, and extensible image‑recognition features.
This article demonstrates how to use the Java metadata‑extractor library to read EXIF GPS information from photos, convert the coordinates to a human‑readable address via Baidu's reverse‑geocoding API, and provides a complete runnable example with Maven dependency and utility code.
This article explains a complete Python workflow for solving image‑click captchas by retrieving the base64 image, binarizing it, detecting character contours, generating candidate character images, matching them, and finally returning the click coordinates needed for verification.
This article demonstrates step‑by‑step how to overcome a website’s anti‑scraping defenses using Selenium with stealth options, retrieve CSS‑based price images, reconstruct the digits, and apply Tesseract OCR to accurately extract numeric data, providing complete Python code snippets throughout.
The project presents a lightweight MobileNet‑FPN architecture enhanced with a modified spatial‑attention module that evaluates corner‑based self‑similarity to classify sneaker photo backgrounds, achieving 96% test accuracy—exceeding baseline CNN performance—and meeting business targets of over 80% hint accuracy and 90% mandatory enforcement.
This article explains Douyin's comprehensive video‑quality pipeline, covering the impact of resolution, bit depth, frame rate, color gamut and brightness, the end‑to‑end processing chain from sensor to server to client, and the mix of subjective and objective evaluation methods used to continuously improve visual experience.
Flutter’s native testing tools struggle with hybrid apps, so this article analyzes the limitations of Flutter driver and integration_test, then presents a custom solution that leverages native automation frameworks, JSON protocols, and image‑processing techniques to achieve reliable UI automation for Flutter pages.
PowerImage combines FFI and external‑texture techniques to deliver native‑like Flutter image handling, offering direct ui.Image loading, unified caching, simulator support, custom channels and comprehensive error capture, with texture‑based rendering preferred for typical use and FFI reserved for legacy simulators or direct pixel access, while providing performance gains and upcoming animated‑image support.
This tutorial shows how to embed hidden text into an image using Python's OpenCV and PIL libraries, detailing the step‑by‑step process, complete code, customization tips, and visual results, enabling messages that appear only when the picture is enlarged.
This tutorial explains how to build a Python automation script for the 4399 mini‑game “Pet Link Classic 2”, covering environment setup, window handling, screenshot processing, image comparison with Hamming distance, path‑finding algorithms, and mouse‑click simulation to clear matching icons.
This article explains the design and implementation of a flexible danmaku SDK that uses AI‑based image segmentation to let comments flow around people in videos, covering architecture, algorithmic processing, server deployment, client rendering options, performance challenges, and future extensions.
AI segmentationPerformance Optimizationbarrage rendering
This guide explains how to set up ADB on a Windows PC, capture screenshots from an Android device, analyze the image to locate the game piece and platform in the WeChat Jump mini‑program, and automatically perform jumps using Python code that calculates press duration and simulates swipe input.
This article explains how GPU.js can accelerate large‑scale medical image windowing in web browsers, reducing latency and preventing crashes, while sharing practical code examples, common pitfalls, and performance benchmarks for both browser and Node environments.
The article explains PHP's imageloadfont function, which loads a user‑defined bitmap font and returns its identifier, details its string parameter, return values (font ID or FALSE), notes platform‑specific binary format requirements, and provides a complete code example demonstrating image creation, font loading, text rendering, and output as PNG.
The article explains PHP's imagejpeg() function, detailing its parameters, return values, and usage example for creating and outputting a JPEG image directly to the browser or saving it to a file, including optional quality settings.
This article explains the challenges of background distortion caused by portrait beautification effects, describes Kuaishou Y‑Tech’s line‑segment‑based optimization framework that preserves line slopes and triangle shapes, and demonstrates the algorithm’s effectiveness through before‑and‑after visual results.
The article explains PHP's imagegif() function, detailing its parameters, return values, and providing a complete example that creates a true‑color image, adds text, sets the appropriate header, outputs the GIF directly to the browser, and cleans up the resource.
The article explains the PHP imagegd2() function, detailing its parameters, return values, and usage example for outputting GD2 images either directly to the browser or saving them to a file, including optional chunk size and type settings.
This guide explains the PHP GD function imagefilledellipse, detailing its parameters, return values, and a complete example that creates a blank image, fills the background, draws a white filled ellipse, and outputs the result as a PNG.
This article explains PHP's imagefill() function, detailing its purpose for region filling in images, describing each parameter (image resource, x and y coordinates, and color), the return values, and provides a complete example script demonstrating its usage.
The PHP imageellipse function draws an ellipse on a given image resource at specified coordinates, accepting parameters for the image, center coordinates, width, height, and color, and returns the image on success or FALSE on failure, as illustrated by a complete example script.
The article explains PHP's imagecreatetruecolor function, detailing its purpose of creating a true‑color image resource, required parameters width and height, version compatibility notes, return values, and provides a complete example script that generates a PNG with custom text.
The article explains PHP's imagecreatefromxpm() function, detailing its syntax, parameters, return values, and provides a complete example showing how to load an XPM image, process it, save it as a JPEG, and clean up the resources.
The article explains PHP's imagecreatefromwebp function, detailing its signature, parameters, return values, and provides a complete example that loads a WebP file, converts it to JPEG, and releases the image resource properly.
This article presents a Python implementation for calculating remote sensing ecological indices—including wetness, greenness, temperature, dryness, and a combined ecological index—using Landsat imagery, detailing the code, usage instructions, and methods for reading data, computing indices, normalizing results, and saving output images.
The article explains the PHP function imagecreatefromgd, detailing its syntax, parameter, return values, and provides a complete example that loads a GD image, checks for success, processes it, saves the result, and cleans up the resource.
imagecreatefromgd2 is a PHP function that creates an image resource from a GD2 file or URL, returning FALSE on failure, and can be combined with imagefilter and imagegd2 to manipulate and save the image, as demonstrated in the provided code example.
This article introduces the most popular Python image‑processing libraries, explains their core features, and provides ready‑to‑run code examples for tasks such as filtering, segmentation, and computer‑vision applications, helping readers quickly start working with images in Python.
The PHP GD library function imagecolorresolvealpha returns the index of a specified color with an alpha value for a given image resource, delivering either the exact index or the nearest possible alternative while detailing its parameters, return values, and usage example.
This article explains how the PHP GD function imagecolorallocatealpha() assigns colors with transparency to an image, describes its parameters and return values, and provides a complete example that creates a PNG with overlapping circles using custom alpha values.
This article introduces the open‑source Python library face_recognition, explains how to install it, locate and extract faces, generate 128‑dimensional embeddings, compare faces, detect facial landmarks, apply virtual makeup, and build a simple custom face‑recognition application with complete code examples and visual results.
The PHP imagearc() function draws an elliptical arc on a GD image resource using specified center coordinates, width, height, start and end angles, and color, returning the transformed image on success or FALSE on failure, with a full example demonstrating its usage.
This article introduces the most widely used Python image‑processing libraries—including scikit‑image, NumPy, SciPy, Pillow, OpenCV‑Python, SimpleCV, Mahotas, SimpleITK, pgmagick, and Pycairo—explaining their key features and providing concise code snippets that demonstrate filtering, segmentation, enhancement, and computer‑vision tasks.
The article explains PHP’s GD library function imageantialias, detailing its purpose, parameters, return values, limitations such as lack of alpha support, and provides a complete example that creates two images, toggles antialiasing, draws lines, merges them, and outputs a PNG.
This article explains the PHP imagealphablending() function, its parameters, return values, and provides a complete example showing how to create a true‑color image, enable alpha blending, draw a shape, and output the result as a PNG.
The article explains PHP's image2wbmp() function, detailing its parameters ($image, optional $filename, optional $threshold), return value, and how to output a WBMP image directly or save it to a file, and includes a complete code example.
This tutorial demonstrates how to use OpenCV in Python to read an image and draw basic shapes such as rectangles and circles by specifying coordinates, dimensions, colors, and line thickness, then display the edited image in a window.
This article demonstrates how to use Python's OpenCV library to read an image, display its original dimensions, resize it to a specified size, save the resized image, and handle user input to close the display windows.
This article explains the three commonly used color spaces in computer vision—grayscale, BGR, and HSV—detailing their characteristics and typical applications, and provides a Python OpenCV code example that converts an image to grayscale and displays both the original and processed images.
This article introduces OpenCV.js, explains its basic concepts and demonstrates a complete workflow for detecting and correcting paper images in the browser using JavaScript, including matrix handling, resizing, filtering, edge detection, contour analysis, perspective transformation, and discusses challenges such as noise and incomplete edges.
This article demonstrates how to automatically convert PDF slide decks into editable markdown text by first converting each page to images, then applying a deep‑learning OCR pipeline (CTPN for detection and CRNN for recognition) with Python code examples, achieving high transcription accuracy.
This article reviews two end‑to‑end deep‑learning approaches—DocUNet (CVPR 2018) and DewarpNet (ICCV 2019)—for correcting warped document images, detailing their network architectures, synthetic data generation, loss functions, experimental results, and the remaining challenges in document dewarping.
This article explains the main captcha varieties—input, sliding, grid, and click‑based—and provides step‑by‑step Python solutions using OCR libraries, image preprocessing, and Selenium automation to bypass them effectively.
The article explains that Flutter Driver and Integration Test struggle to locate elements in hybrid native‑Flutter apps, then describes Xianyu’s approach of extending native UI automation with OCR, image‑matching, and a layered page‑object architecture, achieving over 98% success across 500+ runs.
The article explains how to implement three common beauty‑camera image deformation effects—twirl, inflate, and pinch—using GLSL shaders, detailing the underlying deformation functions, sampling distance‑field transformations, and smoothstep‑based strength controls, and provides full shader code, animated examples, and resource links.
The article discusses identifying and resolving ImageIO-related crash issues in iOS applications, particularly those occurring after iOS 14 updates, by analyzing crash logs and system behavior.
Automatic homework grading leverages AI to transform captured images into graded results through preprocessing, layout analysis, OCR, answer matching, and strategy modules, while addressing three question categories—logical, text‑rich, and graphic—each presenting distinct technical challenges and future research directions.
This article explores why adding watermarks to web pages is essential for protecting confidential content, compares front‑end and back‑end watermarking approaches, and provides step‑by‑step implementations using DOM overlays, canvas, SVG, image processing, and MutationObserver to keep watermarks resilient against tampering.