Loading...
Loading...
Extract text from images using OCR. Use when the user needs to read text from screenshots, photos, or image files.
npx skill4agent add xyuanbuilds/my_skills ocr$SKILL_DIRcd $SKILL_DIR/scripts
npm run setupcd $SKILL_DIR/scripts
# OCR from file
node cli.js <image-path>
# OCR from file with language
node cli.js <image-path> --lang <lang>
# OCR from clipboard (macOS)
node cli.js --clipboard
# OCR from clipboard with language
node cli.js --clipboard --lang <lang>cd $SKILL_DIR
node cli.js ./screenshot.png
node cli.js /path/to/image.jpg --lang chi_tra
node cli.js --clipboard --lang jpnengchi_simchi_trajpnkor+eng+chi_sim+jpn