\
Aliyun human face — portrait sketch stylized effect experience — Fearlazy
First, the effect picture:
The original:
I feel a little fatter after I sketch.
Prerequisite:
1. Open human face service (free of charge), download SDK.
2. Create accessKeys (needed everywhere)
3. Pictures should be uploaded to OSS (Shanghai area).
Aliyun Face Recognition – Face Detection Experience (Based on Python)
Image restrictions:
The format is JPG, JPEG, or PNG. The size is less than 10 MB and the resolution is between 100×100 and 200 x2000.
The code:
Using module GenerateHumanSketchStyleRequest sketch. The request requires setting the image URL.
The image return format is head (default) and full (full).
Head shots are recommended.
The request returns only an ImageURL representing the processed image address.
–> This is from my personal blog fearlazy –> Programming is something you can never learn, but it’s nice to enjoy the learning process.
\