运行流程
问题
1. 执行api.detection.detect(img=’/home/dinglei/b.png’)时
报错caught error: urlopen error [Errno 104] Connection reset by peer; retrying
原因: 没有File(),应该写出
api.detection.detect(img=File('/home/dinglei/b.png'))
但是前提是要导入File的库
from facepp import File
2. 依然报错,caught error: urlopen error [Errno 104] Connection reset by peer; retrying
原因:你这个图片本就没有 某个人都面部,必须把有人的面部的图像给他识别才可以通过.