All Projects → microsoft → Cognitive Face Python

microsoft / Cognitive Face Python

Licence: other
Python SDK for the Microsoft Face API, part of Cognitive Services

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Cognitive Face Python

Cognitive Face Ios
iOS SDK for the Microsoft Face API, part of Cognitive Services
Stars: ✭ 191 (-15.49%)
Mutual labels:  cognitive-services, microsoft, sdk, sample, face
Cognitive Face Windows
Windows SDK for the Microsoft Face API, part of Cognitive Services
Stars: ✭ 175 (-22.57%)
Mutual labels:  cognitive-services, microsoft, sdk, sample, face
Cognitive Face Android
Cognitive Services Face client library for Android.
Stars: ✭ 273 (+20.8%)
Mutual labels:  cognitive-services, microsoft, sdk, sample, face
Speechtotext Websockets Javascript
SDK & Sample to do speech recognition using websockets in Javascript
Stars: ✭ 191 (-15.49%)
Mutual labels:  cognitive-services, microsoft, sdk
Cognitive-Face-Xamarin
A client library that makes it easy to work with the Microsoft Cognitive Services Face API on Xamarin.iOS, Xamarin.Android, and Xamarin.Forms and/or Portable Class Libraries.
Stars: ✭ 18 (-92.04%)
Mutual labels:  microsoft, face, cognitive-services
Azure Iot Sdk Python
A Python SDK for connecting devices to Microsoft Azure IoT services
Stars: ✭ 261 (+15.49%)
Mutual labels:  microsoft, sdk
Azure Iot Sdk C
A C99 SDK for connecting devices to Microsoft Azure IoT services
Stars: ✭ 412 (+82.3%)
Mutual labels:  microsoft, sdk
Brfv4 javascript examples
BRFv4 - HTML5/Javascript - examples project. Reference implementation for all other platform example packages.
Stars: ✭ 460 (+103.54%)
Mutual labels:  sdk, face
Samples
Code snippets and samples to demonstrate how to get the most out of the Box platform & API
Stars: ✭ 52 (-76.99%)
Mutual labels:  sdk, sample
Brfv4 mac examples
macOS C++ examples utilizing OpenCV for camera access and drawing the face tracking results.
Stars: ✭ 25 (-88.94%)
Mutual labels:  sdk, face
Prose
Microsoft Program Synthesis using Examples SDK is a framework of technologies for the automatic generation of programs from input-output examples. This repo includes samples and sample data for the Microsoft Program Synthesis using Example SDK.
Stars: ✭ 470 (+107.96%)
Mutual labels:  microsoft, sdk
Tinvest
Тинькофф Инвестиции, tinkoff, python, aiohttp, requests, pydantic
Stars: ✭ 115 (-49.12%)
Mutual labels:  sdk, pypi
SynapseML
Simple and Distributed Machine Learning
Stars: ✭ 3,355 (+1384.51%)
Mutual labels:  microsoft, cognitive-services
Unity-Text-to-Speech
Sample app used to demonstrate the use of Microsoft Cognitive Services Text-to-Speech APIs (aka Speech Synthesis) from within Unity.
Stars: ✭ 67 (-70.35%)
Mutual labels:  microsoft, cognitive-services
Mmlspark
Simple and Distributed Machine Learning
Stars: ✭ 2,899 (+1182.74%)
Mutual labels:  cognitive-services, microsoft
Pylightxl
A light weight, zero dependency, minimal functionality excel read/writer python library
Stars: ✭ 134 (-40.71%)
Mutual labels:  microsoft, pypi
Pan Os Python
The PAN-OS SDK for Python is a package to help interact with Palo Alto Networks devices (including physical and virtualized Next-generation Firewalls and Panorama). The pan-os-python SDK is object oriented and mimics the traditional interaction with the device via the GUI or CLI/API.
Stars: ✭ 194 (-14.16%)
Mutual labels:  sdk, pypi
Visioninsdk
类似faceu的移动端视频美颜、视频滤镜、人脸实时关键点追踪、实时整形(瘦脸大眼睛等)、动态贴纸
Stars: ✭ 215 (-4.87%)
Mutual labels:  sdk, face
Amplitude Ios
Native iOS/tvOS/macOS SDK
Stars: ✭ 216 (-4.42%)
Mutual labels:  sdk
Nodejs Sdk
百度AI开放平台 Node.js SDK
Stars: ✭ 222 (-1.77%)
Mutual labels:  sdk

Microsoft Face API: Python SDK & Sample

PyPi Version License

This SDK has been deprecated and been replaced by Microsoft.Azure.CognitiveServices.Vision.Face which is a part of Azure SDK.

This repo contains the Python SDK for the Microsoft Face API, an offering within Microsoft Cognitive Services, formerly known as Project Oxford.

Getting started

Install the module using pip:

pip install cognitive_face

Use it:

import cognitive_face as CF

KEY = 'subscription key'  # Replace with a valid Subscription Key here.
CF.Key.set(KEY)

BASE_URL = 'https://westus.api.cognitive.microsoft.com/face/v1.0/'  # Replace with your regional Base URL
CF.BaseUrl.set(BASE_URL)

img_url = 'https://raw.githubusercontent.com/Microsoft/Cognitive-Face-Windows/master/Data/detection1.jpg'
result = CF.face.detect(img_url)
print result

Installing from the source code

python setup.py install

Running the unit tests

To run the tests you will need a valid subscription. You can get one here.

  1. Copy cognitive_face/tests/config.sample.py into cognitive_face/tests/config.py.
  2. Change the KEY and BASE_URL parameters to your own subscription's API key and endpoint.
  3. Run the following:
python setup.py test

Running the sample

A sample desktop application is also provided.

Currently it support the following combination of prerequisites:

  1. Python 3 + wxPython 4 [Recommended]
  2. Python 2 + wxPython 4
  3. Python 2 + wxPython 3

P.S. WxPython 3 does not support Python 3 by design.

Then run the following:

git clone https://github.com/Microsoft/Cognitive-Face-Python.git
cd Cognitive-Face-Python
pip install -r requirements.txt
python sample

Sample app

Contributing

We welcome contributions. Feel free to file issues and pull requests on the repo and we'll address them as we can. Learn more about how you can help on our Contribution Rules & Guidelines.

You can reach out to us anytime with questions and suggestions using our communities below:

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

Updates

License

All Microsoft Cognitive Services SDKs and samples are licensed with the MIT License. For more details, see LICENSE.

Sample images are licensed separately, please refer to LICENSE-IMAGE.

Developer Code of Conduct

Developers using Cognitive Services, including this sample, are expected to follow the “Developer Code of Conduct for Microsoft Cognitive Services”, found at http://go.microsoft.com/fwlink/?LinkId=698895.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].