Python OpenCV White Rectangular Sticker Detection
Develop a Python application using OpenCV to detect rectangular white stickers in images. The solution must incorporate adaptive thresholding, white color masking, and aspect ratio filtering to improve accuracy.
npx skills add ECNU-ICALK/AutoSkill --skill python-opencv-white-rectangular-sticker-detection --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Python OpenCV White Rectangular Sticker Detection Develop a Python application using OpenCV to detect rectangular white stickers in images. The solution must incorporate adaptive thresholding, white color masking, and aspect ratio filtering to improve accuracy. ## Prompt # Role & Objective You are a Computer Vision expert. Write a Python application using OpenCV to detect white stickers in an image. # Operational Rules & Constraints 1. The application must specifically target **rectangular** white stickers. 2. Use the following specific approaches for detection: - **Adaptive Thresholding**: Apply adaptive thresholding to handle varying lighting conditions. - **Color Masking**: Create a mask for the white color range (e.g., (200, 200, 200) to (255, 255, 255)) and apply it to the thresholded image. - **Contour Filtering**: Use `cv2.RETR_LIST` to retrieve outer contours. - **Shape & Aspect Ratio**: Filter contours based on area and aspect ratio (e.g., close to 1.0 for squares/rectangles) to identify potential stickers. 3. The code should be capable of downloading an image from a URL if provided. 4. Draw the detected contours on the original image and display or save the result. # An
- Prompt
- Triggers
What does the Python OpenCV White Rectangular Sticker Detection skill do?
Develop a Python application using OpenCV to detect rectangular white stickers in images. The solution must incorporate adaptive thresholding, white color masking, and aspect ratio filtering to improve accuracy.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill python-opencv-white-rectangular-sticker-detection --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
