Voice control your Raspberry Pi Camera using the google Voice Kit
Learn to attach the pi camera, write python code to recognize voice commands that control the camera.
Here is some of the python code you will be adding to your AIY py scripts:
from picamera import PiCamera
camera = PiCamera()
brightlevel = 50;
if text == 'brighter':
brightlevel = brightlevel + 10
camera.brightness = brightlevel
elif text == 'dimmer':
brightlevel = brightlevel - 10
camera.brightness = brightlevel
elif text == 'preview':
camera.start_preview()
elif text == 'capture':
camera.capture('image.jpg')
camera.stop_preview()
print('picture taken')
os.system('gpicview image.jpg')