miniskill

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
miniskill [2022/02/06 14:19] – [SCORER Edge SDKからAWS S3への接続を設定する] satoshiminiskill [2022/02/06 14:29] (現在) – [SCORER Edge SDKからAWS S3への接続を設定する] satoshi
行 68: 行 68:
 pip install boto3 pip install boto3
 </code> </code>
-これにて準備完了です。次に下記のPythonスクリプトを実行すると指定の日付間、指定のカメラストリームのデータが受信可能になります。+これにて準備完了です。次に下記のPythonスクリプトを実行すると指定の日付間、指定のカメラストリームのデータが受信可能になります。\\ 
 +スクリプトのある階層に「movielist」フォルダを作成すれば動作します。\\
 <sxh Python; titile:moviedownload.py> <sxh Python; titile:moviedownload.py>
 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+"/"+date2+"/"+filepath[5]+"-first")+                        print(device+"/"+date2+"/"+filepath[5])
                         s3client.download_file(Bucket=S3Bucket,Filename=dirpath+filepath[5], Key=key)                         s3client.download_file(Bucket=S3Bucket,Filename=dirpath+filepath[5], Key=key)
 </sxh> </sxh>
 +
 +===== SCORER APIによる一括解析 =====
 +(執筆中)
 +
  
  
  • miniskill.1644124752.txt.gz
  • 最終更新: 2022/02/06 14:19
  • by satoshi