Tagged articles
PIL
17 articles · Page 1 of 1
The article details a six-step automated workflow for generating daily short videos from trending topics using scheduled triggers, hot-topic fetching, PIL-rendered frames to avoid Chinese text garbling, and MiniMax H3 image-to-video generation, enabling creators to publish three times daily without manual editing.
MiniMax H3PILWorkBuddy
0 likes · 8 min read

This tutorial explains how to create a Python‑based automation script that captures screen images, analyzes them, and controls mouse movements to automatically play a 4399 sushi‑making mini‑game, covering tool setup, coordinate handling, image matching, and basic bot logic.
AutopyGame BotPIL
0 likes · 9 min read

This article demonstrates how to load a stack of CT scan images into a NumPy array with a single line of Python code and shares several creative one‑liner Python snippets—including multiplication tables, mazes, love patterns, and a turtle graphics Christmas tree—illustrating the expressive power of Python for quick data processing and visual fun.
One-linerPIL
0 likes · 6 min read

This article explains how to use Python with OpenCV and PIL libraries to replace the background of ID photos with white or other solid colors through image segmentation and processing techniques.
Computer VisionID photo editingPIL
0 likes · 3 min read

Learn how to generate traditional Chinese spring couplets as decorative images using a concise Python script—covering required modules, character image retrieval, background handling, layout generation, and sample outputs—with clear code snippets and usage examples.
Chinese CalligraphyPILPython
0 likes · 6 min read

This tutorial demonstrates how to use Python libraries such as requests and Pillow to scrape individual Chinese characters, resize them, compose them onto a background image, and output a customized "Fu" couplet image, complete with full source code and usage instructions.
Chinese charactersPILTutorial
0 likes · 8 min read

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.
NumPyPILPython
0 likes · 13 min read

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.
Hidden MessageOpenCVPIL
0 likes · 4 min read

This guide shows how to use Python’s Haishoku library together with PIL or OpenCV to extract dominant colors and full palettes from any image, then apply the results to improve data‑visualization aesthetics.
HaishokuOpenCVPIL
0 likes · 5 min read

This tutorial introduces Pillow, the dominant Python imaging library, and walks through its six core modules—Image, ImageDraw, ImageEnhance, ImageFont, ImageGrab, and ImageFilter—showing how to load, edit, draw, enhance, capture, and filter images with practical code examples.
PILPythonpillow
0 likes · 9 min read


21CTOMar 22, 2020 · Fundamentals
A Wuhan University student turned the phrase “武汉加油” into thousands of colored pixels using Python, creating a time‑lapse cherry blossom animation that celebrates spring and supports the city, with step‑by‑step code for image generation, video assembly, and pixel‑level color handling.
OpenCVPILimage processing
0 likes · 6 min read

Learn how to split a lengthy image into equal‑height segments using Python’s PIL library and then recombine those pieces into an animated GIF, complete with code examples, command‑line usage, and tips for handling watermarks and unwanted overlays.
GIFPILPython
0 likes · 7 min read

This guide explains the fundamentals of CAPTCHA recognition, covering computer graphics basics, image denoising, segmentation, binary conversion, and using Python's PIL and pytesser libraries to perform OCR on captcha images.
OCRPILPython
0 likes · 7 min read

This article explains a lightweight technique for invoking Python functions directly from Node.js by converting the Python script into a CLI with the Fire library and executing it via Node's child_process spawn, avoiding the overhead of REST or RPC services.
Interprocess CommunicationNode.jsPIL
0 likes · 4 min read

This tutorial shows how to use Python and the Pillow library to programmatically combine a base image with a meme face, overlay custom text, and generate complete meme pictures, while also discussing challenges of fitting mixed‑language captions within limited space.
MEMEPILPython
0 likes · 6 min read

This article explains how to automate frontend page testing by installing PIL, using Selenium to capture full‑page or region screenshots, applying PIL's grab and crop functions, and troubleshooting common issues such as missing imaging modules and coordinate type errors.
ImageProcessingPILscreenshot
0 likes · 5 min read

This guide walks through the complete process of recognizing image CAPTCHAs using Python, covering graphics fundamentals, noise reduction, grayscale conversion, binarization, image segmentation, and OCR with PIL and pytesser, complete with installation steps and code examples.
CAPTCHAOCRPIL
0 likes · 7 min read
