Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

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


Release history Release notifications

This version
History Node

1.1.1

History Node

1.1.0

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 Apr 7, 2017

Supported by

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