學校課程期末專題趕出來的code,有點亂,會持續整理
PiCamera Control App Demo: https://www.youtube.com/watch?v=-pmIIZanDHg
PiCamera Control App Source code: https://github.com/daivd8712403/PiCameraAndroidApp
在背景執行
./run_me &>/dev/null &
查詢佔用camera資源的程式
ps ax | grep camera
Variable | Description | Example |
---|---|---|
DB_URL |
Firebase Database 位置 | https://project_name.firebaseio.com/ |
POST_REF |
https://project_name.firebaseio.com/device/images.json |
|
IMG_URL |
Firebase Image 檔案存放位置 | project_name.appspot.com |
IMG_TMP_REF |
運行設備的影像暫存位置 | /home/pi/Downloads |
MQTT_IP |
MQTT Broker 位置 | 123.123.123.123 |
CERF_REF |
Firebase Realtime Database 讀寫憑證檔案 | ./secret.json |