camera
指令 | 說明 |
---|---|
-t | 設定相機的時間(ms) |
-o | 設定圖檔存放的路徑 |
-e | 設定編碼格式 |
-w | 設定圖檔的寬(pixel) |
-h | 設定圖檔的高(pixel) |
只預覽 2 秒,不存檔
raspistill -t 2000
5 秒後拍照 (預設),檔名為 test.jpg
raspistill -o test.jpg
3 秒後拍照,並編碼為 png 格式,寬高為 640*480
raspistill -t 3000 -o test.jpg -e png -w 640 -h 480
import picamera
import time
camera = picamera.PiCamera()
time.sleep(2) # Camera warm-up time
camera.capture('test.jpg')
View the slide with "Slide Mode".
Oct 18, 2020待辦 用神經加速棒來跑 mobile net or YOLO 遠端控制 RaspberryPi '''登入''' ssh pi@raspberrypi.local #password:raspberrypi '''檔案傳輸'''
Sep 24, 2020LIDAR 樹梅派電源和馬達電源要分開 L298N pwm控制訊號:一個可以控制2個馬達 PCA-9685:離散轉連續 準備材料 遙控車,專題用此型號 樹莓派 PCA9685馬達驅動板。
Sep 17, 2020週次 日期 任務 w1 8/27~9/3 1. 模型可應用於樹莓派上(昱睿) 2. 裝好驅動程式,可拍training data,可存(立晟) 3. 如何讓車子會動,收資料(Ricky) 4. 買車體、電子變速器、訊號轉換器等配件 (昱齊) w3 9/11~9/17
Sep 17, 2020or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up