Skip to content

Instantly share code, notes, and snippets.

View joseph-sch's full-sized avatar

Joseph S. joseph-sch

  • SolarGik
  • Jerusalem, Israel
View GitHub Profile
@joseph-sch
joseph-sch / test_facepp_api.py
Created December 16, 2018 07:45
Minimal standalone API call to Face++ in Python 3 with US API server
import requests
http_url = 'https://api-us.faceplusplus.com/facepp/v3/detect'
key = "foo"
secret = "bar"
# Build http request
res = requests.post(url=http_url, data={'api_key': key, 'api_secret': secret,
'image_url': 'http://bj-mc-prod-asset.oss-cn-beijing.aliyuncs.com/mc-official/images/face/demo-pic11.jpg',
'return_landmark': 1,
@joseph-sch
joseph-sch / add-rsync-to-git-bash.md
Created September 24, 2018 19:42 — forked from hisplan/add-rsync-to-git-bash.md
Add rsync to git bash for windows