创建一个拍照室应用

捕捉照片到Canvas,使用Canvas API 绘制其中的一帧视频到屏幕上

Draw a frame from the video onto the canvas element using the drawImage() method.