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
homeassistant: | |
# Name of the location where Home Assistant is running | |
name: [redacted] | |
# Location required to calculate the time the sun rises and sets | |
latitude: [redacted] | |
longitude: [redacted] | |
# C for Celcius, F for Fahrenheit | |
temperature_unit: C | |
# Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones | |
time_zone: America/Los_Angeles |
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
import cv2 | |
def measureIntensities(videoFileName, pointOfInterest): | |
""" | |
Find the intensity of a point of interest for each frame | |
""" | |
video = cv2.VideoCapture(videoFileName) | |
intensities = [] | |
while video.isOpened(): | |
_returnCode, frame = video.read() |