Skip to main content

celebrity identification from face recognition - wrapper for Microsoft Cognitive Services

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
celebid-1.1.1.tar.gz (4.3 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page