Skip to content

Instantly share code, notes, and snippets.

@jeffbass
Created August 21, 2020 23:44
Show Gist options
  • Save jeffbass/002f3b31097bb5dee67c02062a5543d3 to your computer and use it in GitHub Desktop.
Save jeffbass/002f3b31097bb5dee67c02062a5543d3 to your computer and use it in GitHub Desktop.
Yaml file for Driveway imagenode
# Settings for imagenode.py picam motion detector
---
node:
name: Driveway
queuemax: 50
patience: 10
stall_watcher: True
heartbeat: 10
send_type: jpg
print_settings: False
hub_address:
# H1: tcp://jeff-macbook:5555
# H1: tcp://jeff-thinkpad:5555
H1: tcp://192.168.86.71:5555
cameras:
P1:
viewname: Mailbox
resolution: (640, 480)
framerate: 16
threaded_read: False
vflip: False
awb_mode: off # or auto, sunlight, cloudy, etc.
brightness: 50 # 0 to 100; default 50
contrast: 0 # -100 to 100; default 0
exposure_compensation: 0 # -25 to 25; defaut 0; 6 units per f-stop
exposure_mode: off # default auto; off, night, sports, beach, etc.
iso: 100 # 0 default is automatic; allowed values 0, 100, 200, 320, 400, 500, 640, 800
meter_mode: average # default average; spot, backlit, matrix
saturation: 0 # -100 to 100; default 0
sharpness: 0 # -100 to 100; default 0
shutter_speed: 800 # 0 to 33,333 microseconds; default 0 is automatic
detectors:
motion:
ROI: (17,45),(85,61)
draw_roi: ((255,0,0),1)
send_frames: detected event # continuous
send_count: 2
delta_threshold: 6
min_motion_frames: 2
min_still_frames: 2
min_area: 8 # minimum area of motion as percent of ROI
blur_kernel_size: 15 # Guassian Blur kernel size
send_test_images: False
# draw_time: ((0,255,255),1)
# draw_time_org: (5,5)
# draw_time_fontScale: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment