Kriti Labs interview question

write code to open the web camera in opencv