Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zaneli/docomocvpy
docomo computer vision API Python wrapper library
https://github.com/zaneli/docomocvpy
Last synced: 28 days ago
JSON representation
docomo computer vision API Python wrapper library
- Host: GitHub
- URL: https://github.com/zaneli/docomocvpy
- Owner: zaneli
- Created: 2014-10-27T17:22:35.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2014-11-06T02:45:53.000Z (about 10 years ago)
- Last Synced: 2023-03-31T03:57:20.021Z (almost 2 years ago)
- Language: Python
- Size: 223 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
=======
docomocvpy
=======`docomo 画像認識 API`_ の Python ラッパーライブラリです。
.. image:: https://api.travis-ci.org/zaneli/docomocvpy.png?branch=master
:target: https://travis-ci.org/zaneli/docomocvpyRequirements
=======- Python 3.4
Installation
=======::
$ pip install git+https://github.com/zaneli/docomocvpy
Usage
=======::
from docomocv import DocomoCVClient, Recog
client = DocomoCVClient()
# Get image recognition candidates
result = client.recognize('./food_package_img.jpg', Recog.food)# Send feedback
client.feedback(result['recognitionId'], True)# Send feedback to each candidate
client.feedback_to_candidate(result['recognitionId'], result['candidates'][0]['itemId'], True).. _`docomo 画像認識 API`: https://dev.smt.docomo.ne.jp/?p=docs.api.page&api_docs_id=102