Skip to content
This repository was archived by the owner on Oct 30, 2018. It is now read-only.

Comments

FaceTagging#14

Merged
AlchemyAPI merged 2 commits intoAlchemyAPI:masterfrom
hughesadam87:master
Mar 3, 2015
Merged

FaceTagging#14
AlchemyAPI merged 2 commits intoAlchemyAPI:masterfrom
hughesadam87:master

Conversation

@hughesadam87
Copy link

Support recommended me to hack the alchemyapi.py file to implement facetagging. Unless there's some reason that face tagging shoudln't be implemented in the Python SDK, I figured this was worth a quick PR.

Hi Adam!

Unfortunately we have not been able to add face functions to the Python SDK yet, but they are still accessible via our public service, so it is easy to hack it into the code.

In alchemyapi.py, there is a line:

ENDPOINTS['imagetagging']['url'] = '/url/URLGetRankedImageKeywords'

If you change this line to

ENDPOINTS['imagetagging']['url'] = '/url/URLGetRankedImageFaceTags'

you could use the image tagging function to get faces instead.


Thanks,
Aaron

AlchemyAPI added a commit that referenced this pull request Mar 3, 2015
@AlchemyAPI AlchemyAPI merged commit 97900ef into AlchemyAPI:master Mar 3, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants