Treat this skill as a visual aid for the model, not as a general image editor.
Use scripts/image_helper.py to create a clearer intermediate image, then re-run analysis on that result.
# Rotate sideways text
python scripts/image_helper.py image.png --rotate 90 -o rotated.png
# Crop a likely area and zoom it
python scripts/image_helper.py image.png --crop-preset bottom-right --scale-preset x3 -o detail.png
# Improve low-contrast text
python scripts/image_helper.py image.png --auto-enhance -o enhanced.png
# Convert an existing file path directly to base64
python scripts/image_helper.py image.png --base64
--rotate.--crop-preset first, then add --scale-preset.--scale-preset x2 or x3.--auto-enhance, or manually tune --contrast and --sharpness.--base64.--input-mode auto or force --input-mode base64 / data-uri.-o or return inline base64 with --base64.references/cli-reference.mdreferences/presets.mdInstall Pillow if it is missing:
pip install Pillow
# or
uv pip install Pillow
共 1 个版本