Skip to main content

This project implements a client for the Project Oxford API's.

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.

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

Installation

To install the latest release you can use pip.

$ pip install oxford

Usage

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

Face detection

from oxford import Face

client = Face('<api_key>')
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

oxford-0.1.4.tar.gz (511.4 kB view details)

Uploaded Source

File details

Details for the file oxford-0.1.4.tar.gz.

File metadata

  • Download URL: oxford-0.1.4.tar.gz
  • Upload date:
  • Size: 511.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for oxford-0.1.4.tar.gz
Algorithm Hash digest
SHA256 c10b8d0f10ee9dbcb4c2c67bedb11fee6e0c68c91e6837b3f67bb4ec4024d953
MD5 f96839be8e2c26c1c15380ed680368e1
BLAKE2b-256 40f8a8e3483d14d0a90fa51ea8215a7c758555f4d82672a1a13db23748660d1d

See more details on using hashes here.

Supported by

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