olgaliak / Cognitive-IRIS-Python

Python SDK and sample for IRIS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Microsoft IRIS API: Python SDK

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

NOTE: This is a work-in-progress.

Installation

pip install 

Installation from Source Code

python setup.py install

Run sample to test images and retrain

A Python SDK sample is also provided, before execution, please install all components listed below.

Sample Prerequisite

  • Python 2.7 (only Python 2 supported due to limitation of wxPython)

Sample Execution

git clone https://github.com/ritazh/Cognitive-IRIS-Python.git
cd Cognitive-IRIS-Python
export TKEY=
export PKEY=
python test.py <directory path with pattern to test images>
e.g. '/Users/testuser/Documents/testimages/{}/'

License

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

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.

About

Python SDK and sample for IRIS

License:Other


Languages

Language:Python 100.0%