将输入的图片转换为铅笔画风格。当用户提到铅笔画、素描、画风转换、图片转素描时使用。
74
91%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
使用 pencil4img 算法处理图像
将输入的图像转换为铅笔画风格的图像。
office/skills/image/pencil4img/
from office.skills.image import pencil4img
pencil4img(
input_img='./test.jpg',
output_path='./',
output_name='pencil4img.jpg'
)| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
input_img | str | 是 | - | 输入的图像文件路径 |
output_path | str | 否 | './' | 输出图像的路径 |
output_name | str | 否 | 'pencil4img.jpg' | 转换后的图像文件名 |
None
from office.skills.image import pencil4img
pencil4img(input_img='./photo.jpg')office.api.image.pencil4img
2b1996b
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.