Tagged articles
pillow
48 articles · Page 1 of 1
Faced with 30,000 report images containing 300,000 rows of tabular data, the author explains why WPS failed at scale, analyzes the OCR error sources, and shares a Python script that batch‑crops images to boost recognition accuracy before exporting everything to Excel.
OCRbatch processingdata-extraction
0 likes · 6 min read

This guide introduces seven powerful Python libraries—Pandas, Selenium, Flask, Scrapy, Requests, Faker, and Pillow—explaining their core uses, installation commands, and example code snippets to help developers automate tasks, streamline workflows, and accelerate development.
FakerFlaskPandas
0 likes · 6 min read

This tutorial demonstrates how to import a foreground photo, resize, binarize, rotate, clean, and combine it with a panda‑head background using OpenCV, then add English and Chinese text with Pillow, and finally save the resulting emoji image.
ImageProcessingOpenCVTutorial
0 likes · 9 min read

This article demonstrates how to use Python, OpenCV, and Pillow to programmatically generate frames that depict the gradual opening of cherry blossoms, assemble them into a video, and share the result as a timelapse celebrating Wuhan University's spring scenery.
PythonTutorialcherry-blossom
0 likes · 5 min read

This guide explains how to set up the environment, configure Selenium WebDriver, and run a comprehensive Python script that scrolls through a webpage, captures segmented screenshots, stitches them together with Pillow, and produces a high‑resolution long screenshot, suitable for mobile or web content.
pillowscreenshot
0 likes · 6 min read

This article introduces and compares ten widely used Python libraries for computer vision, including Pillow, OpenCV, Mahotas, Scikit‑Image, TensorFlow Image, PyTorch Vision, SimpleCV, Imageio, Albumentations, and timm, highlighting their features, typical use cases, and providing code examples for each.
LibrariesOpenCVPython
0 likes · 10 min read

This article walks through creating a Python‑based screen recorder on Windows 10 using Pillow for screenshots, OpenCV for video encoding, NumPy for frame processing, and pynput to control recording via hotkeys, including steps to install dependencies, calculate optimal FPS, and save MP4 files.
Keyboard HotkeysOpenCVPython
0 likes · 13 min read

This article introduces the importance of image watermarking for copyright protection and provides a step‑by‑step Python tutorial using the Pillow library, covering installation, basic usage, a script for batch watermarking, and advanced techniques such as dynamic watermarks and automated folder monitoring.
PythonWatermarkimage processing
0 likes · 4 min read

This article introduces advanced techniques using Python's Pillow library, covering filters, image blending, word cloud generation, dynamic resizing, border addition, GIF creation, slicing, flipping, color space conversion, and batch processing, with complete code examples to enhance image manipulation capabilities.
Advanced Techniquescode-examplesimage-processing
0 likes · 6 min read

This article presents ten useful Python scripts that demonstrate how to create, merge, split, extract text, add watermarks, convert, rotate, edit metadata, and encrypt PDF files using libraries such as PyPDF2, fpdf, pdf2image, and Pillow.
PDFPyPDF2fpdf
0 likes · 7 min read

This tutorial explains how to build a Python GUI application using tkinter and Pillow that lets users select nine images, adjust the cell size, and automatically merge them into a 3×3 grid, complete with code examples and usage instructions.
GUIGridTutorial
0 likes · 8 min read

This article introduces ten widely used Python libraries for image processing—such as scikit‑image, NumPy, SciPy, Pillow, OpenCV, SimpleCV, Mahotas, SimpleITK, pgmagick, and Pycairo—explaining their main features and providing concise code examples for tasks like filtering, segmentation, and visualization.
NumPyOpenCVimage-processing
0 likes · 9 min read

This tutorial walks through using Python's Pillow library to load an image, overlay or replace text with custom fonts and colors, and save or display the edited result, providing step‑by‑step code and practical tips for image manipulation.
PythonText OverlayTutorial
0 likes · 6 min read

This article introduces seven practical Python tools—including Pandas, Selenium, Flask, Scrapy, Requests, Faker, and Pillow—explaining their core features, typical use cases, and providing ready‑to‑run code snippets to help developers automate tasks and accelerate project development.
FakerPandaspillow
0 likes · 6 min read

This tutorial demonstrates how to use Python with NumPy, Pillow, and the wxgl library to generate a 3D lantern model by loading a paper texture, constructing a cylindrical skeleton, mapping the texture onto it, and rendering the final lantern with optional decorative elements.
3D graphicsNumPypillow
0 likes · 6 min read

This article introduces fifteen widely used Python packages—including Dash, Pygame, Pillow, Colorama, JMESPath, Requests, Simplejson, Emoji, tqdm, IPython, Home Assistant, Flask, and Beautiful Soup—explaining their core features, typical applications, and providing illustrative examples to help developers quickly adopt them in various projects.
DASHbeautiful souppackages
0 likes · 9 min read

This tutorial demonstrates how to use Python's OpenCV and Pillow libraries to detect faces and overlay a Christmas hat on images, create dynamic snowfall effects, and generate a stylized Christmas tree composition, providing complete code snippets and installation instructions.
OpenCVTutorialchristmas
0 likes · 7 min read

This guide shows how to split an avatar image into nine equal parts with Pillow, overlay each part onto a resized flag background, and combine the frames into an animated GIF, including full Python code and installation instructions.
GIFPythonTutorial
0 likes · 4 min read

This tutorial explains how to use Python 3 and the Pillow library to add customizable text watermarks to single images and batch‑process entire folders, covering required installations, code implementation, and saving the watermarked results.
Watermarkimage-processingpillow
0 likes · 7 min read

This article demonstrates how to use Python to capture the computer screen every five seconds, automatically email the screenshot using SMTP, and package the script into a Windows executable with PyInstaller, providing complete code, configuration steps, and visual results.
PyInstalleremail automationexe
0 likes · 6 min read

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.
Computer VisionPythonimage processing
0 likes · 22 min read

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.
GIFimage processingpillow
0 likes · 3 min read

This tutorial walks you through creating a simple aiohttp web application that fetches random Mars rover photos from the NASA API, validates image quality using Pillow, and serves the images directly, covering environment setup, async code, and deployment options.
NASA APIPythonWeb
0 likes · 10 min read

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.
Computer VisionOpenCVPython
0 likes · 5 min read

This tutorial demonstrates how to generate a rotating Earth animation by mapping a latitude‑longitude texture onto a circular canvas using Python's Pillow, NumPy, and imageio libraries, detailing the steps of point selection, spherical coordinate conversion, pixel mapping, and GIF assembly.
NumPyPythonpillow
0 likes · 7 min read

This tutorial demonstrates how to build a simple aiohttp web server in Python, install required dependencies, retrieve random Mars photos from the NASA API, validate image size and color mode using Pillow, and serve the selected image directly to the browser.
NASA APIPythonaiohttp
0 likes · 9 min read

Learn how to create a Python-based screen recording tool on Windows 10 using Pillow for screenshots, OpenCV for video encoding, NumPy for frame processing, and pynput for hotkey control, with step-by-step code examples, optimal FPS calculation, and MP4 saving techniques.
OpenCVpillowpynput
0 likes · 13 min read

This article explains how to build a lightweight Python GUI attendance and random‑selection tool using Tkinter (and optionally PyQt5), covering required libraries, installation steps, interface design, name‑list handling, sequential and random calling modes, and provides the complete source code.
PyQt5PythonRandomSelection
0 likes · 16 min read

This tutorial shows how to use Python's Pillow library to automatically split any image into nine equal tiles with a concise script, explaining the calculations, code structure, and resulting output files, making image tiling easy for developers.
Code TutorialPythonautomation
0 likes · 4 min read

This tutorial demonstrates how to convert a PNG image into ASCII art by mapping pixel colors to characters, installing the Pillow library, and running a Python script that processes the image and outputs the result either to the console or a file.
ASCII artcommand-linepillow
0 likes · 4 min read

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.
Computer VisionNumPyOpenCV
0 likes · 8 min read

This article shows how to load 109 head CT images into a NumPy ndarray with a single line of Python, then presents several whimsical one‑line Python scripts—including a multiplication table, maze printer, love‑message art, and turtle graphics—demonstrating the expressive power of concise code.
NumPyOne-linerpillow
0 likes · 4 min read

Learn how to install the Python wordcloud module, generate custom word clouds from text, customize fonts, colors, backgrounds, and stopwords, and integrate with Pillow and matplotlib, all illustrated with code snippets and images, to visualize text data effectively.
Pythondata visualizationpillow
0 likes · 7 min read

This article introduces seven powerful Python tools—including Pandas, Selenium, Flask, Scrapy, Requests, Faker, and Pillow—explaining their core features and providing ready-to-use code snippets to help developers automate data analysis, testing, web development, crawling, API calls, fake data generation, and image processing.
FakerFlaskPandas
0 likes · 6 min read

This article introduces seven Python efficiency tools—including Pandas for data analysis, Selenium for automated testing, Flask for lightweight web development, Scrapy for web crawling, Requests for HTTP calls, Faker for generating fake data, and Pillow for image processing—providing installation commands and code examples to boost developer productivity.
Flaskpillow
0 likes · 6 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

This tutorial demonstrates how to import, resize, threshold, rotate, and blend foreground photos with a panda‑head background using OpenCV and Pillow in Python, then add English or Chinese text and save the resulting meme image.
Meme GenerationOpenCVimage processing
0 likes · 10 min read

This tutorial shows how to build a rotating 3D lantern using Python, NumPy, Pillow, and the WxGL library, covering required materials, environment setup, code for constructing the cylindrical skeleton, applying the lantern paper, adding a propeller, lighting, and rendering the final animation.
3D visualizationNumPyPython
0 likes · 10 min read

Learn step‑by‑step how to use Baidu’s OCR service to extract text from images and employ the Pillow library to convert image formats in Python, including code snippets, API parameter details, and practical tips for handling local and online files.
Baidu APIOCRimage-processing
0 likes · 7 min read

This guide walks through common Pillow errors when adding text to images, shows how to correct font file paths, switch fonts and colors, and provides working Python code snippets for rendering both English and Chinese characters on pictures.
Text Overlayfontsimage processing
0 likes · 4 min read

This tutorial demonstrates how to use Python's Pillow library to decompose a GIF into individual frames, reverse their order, and reassemble them into a new reversed‑play GIF, providing step‑by‑step code and explanations for each stage.
GIFTutorialimage processing
0 likes · 3 min read

This tutorial shows how to turn a loved one's photo into a heart‑shaped mosaic made of the phrase “I love you” using Python, OpenCV, and PIL by extracting pixel colors and drawing colored text onto a new image.
OpenCVPhoto MosaicPython
0 likes · 6 min read

This tutorial walks through essential Selenium WebDriver techniques in Python, covering driver path configuration, capturing full and partial screenshots, page refresh methods, opening new tabs, cropping images with Pillow, executing JavaScript, and retrieving script results, all with clear code examples.
JavaScriptPythonTest Automation
0 likes · 10 min read

This tutorial shows how to use Python's Pillow library to add custom text, rotate images, and combine transparent layers to generate personalized Chinese New Year phone wallpapers, complete with step‑by‑step code examples and sample results.
PythonWallpapercode
0 likes · 6 min read

This tutorial shows how to reverse an existing GIF and create new GIF animations in Python using Pillow and imageio, including step‑by‑step code examples, frame extraction, reversal, and saving, plus a quick method for assembling multiple images into a GIF.
GIFImageIOPython
0 likes · 4 min read

This tutorial shows how a data analyst can use Python and Pillow to automatically prepare images, overlay emojis, add expressive text, and generate complete meme stickers, while also discussing layout challenges such as font sizing and line‑breaking within limited space.
Meme GenerationTutorialautomation
0 likes · 5 min read

This tutorial demonstrates how to use Python's Pillow library to overlay sequential numbers onto local images, creating identifiable test data for image upload and ordering verification without manually remembering each picture's appearance.
image-processingpillow
0 likes · 2 min read

This tutorial shows how to use Python to automate the creation of meme‑style emoticon images by preparing assets, overlaying pictures and text, and handling font sizing, providing complete code examples and practical tips for batch production.
GraphicsMeme Generationautomation
0 likes · 6 min read
