Microsoft Cognitive Services Emotion API による 表情判定 Webアプリケーション サンプルです。 JavaScript (JQuery 3.1.0) を使用しています。 動作には Emotion API のサブスクリプションが必要です。 Cognitive Services の各種 API のサブスクリプション申し込み方法は Microsoft Cognitive Services サブスクリプション準備編 をご覧ください。
※こちらは アプリケーションサンプルです。ご自身の責任の下ご利用をお願いいたします。
This is emotion auto-detect sample web app by Microsoft Cognitive Services Emotion API. It works with JavaScript (JQuery 3.1.0). Emotion API Subscription needed to make this work. To get Cognitive Services APIs' Subscription Key, see How to subscribe Microsoft Cognitive Services APIs.
THIS IS SAMPLE and please use this for your infomation and on your own responsibility.
Windows 10 (Anniversary Update), Visual Studio Code で作成されています。 環境構成方法は Visual Studio Code のインストール をご覧ください。
Developed on Windows 10 (Anniversary Update), and Visual Studio Code. To get envorpnment, please see Install Visual Studio Code.
ダウンロード後、scripts/script.js を開き、16行目の YOUR_SUBKEY に Emotion Api のサブスクリプションキー、17行目の YOUR_ENDPOINT に Emotion Api のエンドポイント URL をコピーして保存します。 index.html をブラウザで開き、動作を確認できます。
After download bits, open scripts/script.js, paste Emotion API Subscription Key to YOUR_SUBKEY on line 16, Emotion API Endpoint URL to YOUR_ENDPOINT on line 17, and save file. Open index.html with browser and it should work.