Skip to content

Commit

Permalink
加了 access_token=github ,用于标记访问来源
Browse files Browse the repository at this point in the history
加了 access_token=github ,用于标记访问来源
  • Loading branch information
duoergun0729 authored Mar 24, 2020
1 parent 5a2f985 commit aac9db6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions applications/fake_face_detect/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ ffmpeg -i /path/to/my/video.mp4 /path/to/output/video-frame-%d.png

+ Deepfakes检测
```shell
curl -H "Expect:" "http://gwgp-h9xcyrmorux.n.bdcloudapi.com/rest/deepfakes/v1/detect" -F "file=@ fake_deepfakes.jpg"
curl "http://gwgp-h9xcyrmorux.n.bdcloudapi.com/rest/deepfakes/v1/detect?access_token=github" -F "file=@fake_deepfakes.jpg"
```

+ 人脸融合检测
```shell
curl -H "Expect:" "http://gwgp-h9xcyrmorux.n.bdcloudapi.com/rest/facemerge/v1/detect" -F "file=@fake_merging.jpg"
curl "http://gwgp-h9xcyrmorux.n.bdcloudapi.com/rest/facemerge/v1/detect?access_token=github" -F "file=@fake_merging.jpg"
```

# 接口描述
Expand Down Expand Up @@ -78,4 +78,4 @@ API服务地址: **http://gwgp-h9xcyrmorux.n.bdcloudapi.com/rest/facemerge/v1/
![换脸示例2](demo/deepfake02.png)
![换脸示例3](demo/deepfake03.png)

python调用示例文件为[api_demo.ipynb](api_demo.ipynb)
python调用示例文件为[api_demo.ipynb](api_demo.ipynb)

0 comments on commit aac9db6

Please sign in to comment.