Introduction - If you have any usage issues, please Google them yourself
Using OpenCV to take pictures and save the picture, just twenty or thirty lines of code, you can achieve this function, convenient and quick, it is a good way to take photos in embedded system, but the premise is that you have to match the environment of OpenCV.