You are on page 1of 2

IoT Domain Analyst

Lab L5+L6

Assessment 4

18BEE0007

Sidharth Kumar Jha

Aim: To access photos and videos with Python

1. To access video

Here computer vision module is used to read image file

Image name is given as download and GUI name(frame name) is given as ‘imageWin’

Here k=27 is used for escape key

And key ‘s’ is given to again save the file and renamed as ‘image23’
2. To capture video with python.

Here computer vision is used to capture a video

‘XVID’ is used as a video decoder

Key ‘q’ is used to quit the camera recorder

While loop is used to capture the video frame by frame

You might also like