Skip to content

funswift/medical-cutouter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cutouter

複数の料理が写った写真を皿ごとに切り分けて、docomoの画像認識にかけるやつ。

Setup

環境変数に以下を設定すること。

  • CUTOUTER_KEY...このAPIのKEY、勝手に使われたら困るので
  • DOCOMO_APIKEY...docomoのAPIKEY

また複数のライブラリを使用しているので、pip install -r requirements.txtを忘れないこと。

Usage

python app.pyでサーバーが起動する。 httpでルート直下に画像(jpg/jpeg/png)をポストすると、皿ごとの認識結果がjsonで返ってくる。

例) curl -F [email protected] -F key=cutouterkey http://localhost:5000

レスポンス

現在検討中

About

医療班のプロダクトで使うAPIサーバ

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages