Object counting
Use this skill for counting specific objects (coins, enemies, turtles) in images using template matching.From its SKILL.md
npx -y skills add cxcscmu/SkillLearnBench --skill object-countingAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
SKILL.md
0.4 KB, 65 tokens by cl100k_base, as published. Nobody here has run it
Object Counting
To count objects, use OpenCV template matching.
Logic
- Load the target image (frame) and the template image (coin/enemy/turtle).
- Perform template matching (
cv2.matchTemplate). - Threshold the result.
- Count the number of matches.
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.