差分
このページの2つのバージョン間の差分を表示します。
| 両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン | ||
| miniskill [2022/02/06 14:19] – [SCORER Edge SDKからAWS S3への接続を設定する] satoshi | miniskill [2022/02/06 14:29] (現在) – [SCORER Edge SDKからAWS S3への接続を設定する] satoshi | ||
|---|---|---|---|
| 行 68: | 行 68: | ||
| pip install boto3 | pip install boto3 | ||
| </ | </ | ||
| - | これにて準備完了です。次に下記のPythonスクリプトを実行すると指定の日付間、指定のカメラストリームのデータが受信可能になります。 | + | これにて準備完了です。次に下記のPythonスクリプトを実行すると指定の日付間、指定のカメラストリームのデータが受信可能になります。\\ |
| + | スクリプトのある階層に「movielist」フォルダを作成すれば動作します。\\ | ||
| <sxh Python; titile: | <sxh Python; titile: | ||
| from boto3 import Session | from boto3 import Session | ||
| 行 150: | 行 151: | ||
| if os.path.exists(dirpath+filepath[5]): | if os.path.exists(dirpath+filepath[5]): | ||
| continue | continue | ||
| - | print(key) | ||
| if ttime > stime and ttime < etime: | if ttime > stime and ttime < etime: | ||
| - | print(device+"/" | + | print(device+"/" |
| s3client.download_file(Bucket=S3Bucket, | s3client.download_file(Bucket=S3Bucket, | ||
| </ | </ | ||
| + | |||
| + | ===== SCORER APIによる一括解析 ===== | ||
| + | (執筆中) | ||
| + | |||