Created
October 25, 2019 10:28
-
-
Save e96031413/4d03e70e6f7f4a1c452d1a59ac1a1363 to your computer and use it in GitHub Desktop.
將外網FTP所上傳的影片複製到darknet資料夾、針對影片進行辨識、將結果自動上傳到Youtube
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cp /home/e96031413/PiToTX2/video/*.mp4 /home/e96031413/AlexeyAB/darknet/data/bird/video/ | |
cp -a /home/e96031413/PiToTX2/image/. /home/e96031413/AlexeyAB/darknet/data/bird/image | |
#./darknet detector test cfg/voc.data cfg/yolov3.cfg yolov3_10000.weights data/bird/image/bird.jpg | tee predict_img_result.txt | sleep 1s ; kill $! | |
./darknet detector demo cfg/voc.data cfg/yolov3.cfg yolov3_10000.weights data/bird/video/test.mp4 -out_filename detect-result.avi | sleep 120s ; kill $! | |
youtube-upload --title="video from tx2" detect-result.avi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment