def __init__(self, height, width):
"""Constructor"""
self.camera = picamera.PiCamera()
self.stream = picamera.array.PiYUVArray(self.camera)
self.height = height
self.width = width
self.camera.resolution = (self.height, self.width)
# - - - - - - - - - - - - - - - -
# - - - - Take Picture - - - - -
# - - - - - - - - - - - - - - - -
评论列表
文章目录