LoginSignup
0
1

More than 3 years have passed since last update.

DonkeyCar 車上のラズパイでカメラ画像の静止画ファイルから動画を生成する

Last updated at Posted at 2019-12-24

ffmpegのインストール

$ sudo apt-get install ffmpeg

keras-visのインストール

$ pip install git+https://github.com/autorope/keras-vis.git

動画生成コマンド

~/mycar にて
$ donkey makemovie --tub 静止画ファイルのフォルダ名 --out ./movie.mp4

salient動画生成コマンド

負荷が大きいので範囲を指定する
$ donkey makemovie --tub 静止画ファイルのフォルダ名 --out ./movie.mp4 --type linear --salient --model ./models/mypilot.h5 --start 1 --end 100

動画ファイルをPCに転送して再生

rsync,WinSCp等のファイル転送ツールを使用してPCに転送しPCで再生する.

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1