これを読んで: https://benheubl.github.io/data%20analysis/fr/フォローしてみてください。
2 つの Python コードを分離し、1 つを実行した後、ビデオの場所をコピーしました。しかし、これまでのところ、ステージ 2 に進むことはできません。つまり、結果を取得して、R が分析できるように保存します。私の応答ファイルは
getResponse.text is :
{"status":"Failed","progress":null,"createdDateTime":"2016-10-
23T12:03:50.525844Z","lastActionDateTime":"2016-10-
23T12:03:50.5414685Z","message":"Failed to start job."}
Traceback (most recent call last):
File "...face-recognition1-after-waiting.py", line 63, in <module>
rawData = json.loads(json.loads(getResponse.text)
['processingResult'])
KeyError: 'processingResult'
キーは正しく、前の応答は問題ありません。
202
{'Content-Length': '0', 'Expires': '-1', 'X-AspNet-Version': '4.0.30319', 'Operation-Location': 'https://api.projectoxford.ai/emotion/v1.0/operations/aad68da1-38e4-4722-8c64-cfbf19d1de97', 'X-Powered-By': 'ASP.NET', 'apim-request-id': '7cdb9bf5-234e-4566-afeb-b68a0dfd25df', 'Pragma': 'no-cache', 'Cache-Control': 'no-cache', 'Date': 'Sun, 23 Oct 2016 12:03:52 GMT'}
これ以上先に進めないようです...助けはありますか?