Run3 image preprocessing
Convert images to grayscale in-place using OpenCV.From its SKILL.md
npx -y skills add cxcscmu/SkillLearnBench --skill run3_image_preprocessingAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
SKILL.md
0.4 KB, 84 tokens by cl100k_base, as published. Nobody here has run it
To convert an image to grayscale and overwrite the original file, use a Python script with OpenCV:
import cv2
import glob
files = sorted(glob.glob('/root/keyframes_*.png'))
for file_path in files:
img = cv2.imread(file_path)
gray = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY)
cv2.imwrite(file_path, gray)
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.