skip to navigation
skip to content

celebid 1.1.1

celebrity identification from face recognition - wrapper for Microsoft Cognitive Services

Wrapper of Microsoft Cognitive Services celebrity identification from face detection:

>>> from celebid import detect_celebrity

>>> r = detect_celebrity('image.jpg', APIKEY)

>>> r.status_code
200

>>> r.celebrities
[
    {
        "name": "Jane Smith",
        "faceRectangle": {
            "left": 65,
            "top": 95,
            "width": 127,
            "height": 127
        },
        "confidence": 0.999999166
    }
]
>>> r.content
{... full json response (boring) ...}

You need an API Key from Microsoft Cognitive Services (Computer Vision API).

Command line version included.

 
File Type Py Version Uploaded on Size
celebid-1.1.1.tar.gz (md5) Source 2017-04-07 4KB