Voice-Controlled Camera

I am trying to create an app with a built-in camera that is fully controlled by the user’s voice. (Example: You say “open camera,” and the camera opens. You say “take picture,” and the camera takes a picture.) How would I go about coding this?