Skip to main content

This project extends the Project Oxford API surface to support Python.

Project description

This package contains a set of intelligent APIs understanding images: It can detect and analyze people’s faces, their age, gender, and similarity. It can identify people based on a set of images. It can understand what is displayed in a picture and crop it according to where the important features are. It can tell you whether an image contains adult content, what the main colors are, and which of your images belong in a group. If your image features text, it will tell you the language and return the text as a string. It’s basically magic. For more details on the Project Oxford API, please visit projectoxford.ai.

This python module implements all APIs available in the Face and Vision APIs of Project Oxford.

https://i.imgur.com/Zrsnhd3.jpg

Installation

To install the latest release you can use pip.

$ pip install projectoxford

Usage

Note: before you can send data to you will need an API key. There is are separate API keys for face and vision.

Initialize a client

from projectoxford import Client
client = Client('<api_key>')

Face detection

result = client.face.detect({'url': 'https://upload.wikimedia.org/wikipedia/commons/1/19/Bill_Gates_June_2015.jpg'})
print result['faceId']
print result['attributes']['age']

License

Licensed as MIT - please see LICENSE.txt for details.

Project details


Download files

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

Source Distribution

projectoxford-0.1.2.zip (528.8 kB view details)

Uploaded Source

File details

Details for the file projectoxford-0.1.2.zip.

File metadata

  • Download URL: projectoxford-0.1.2.zip
  • Upload date:
  • Size: 528.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for projectoxford-0.1.2.zip
Algorithm Hash digest
SHA256 cc135022282a832000c471cf4a4c4ba8c6bcff0b253d639ee991449cbb2f5e59
MD5 c6b63f2db4b88869c9e68bbe8dd1389a
BLAKE2b-256 f9d1bfa46ba4be7496425326c6f46e32cec72cb40fb7de587b6dd892098daff7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page