Open minng90 opened 7 years ago
cv::Mat image = ardrone.getImage();
cv::imwrite("ardronePic.png", image);
thats for taking the picture, and to have it done when 'o' is pressed:
int key = cv::waitKey(33);
if (key == ‘o'){
cv::Mat image = ardrone.getImage();
cv::imwrite("ardronePic.png", image);
}
Hello. I really appreciate you for offering this sdk. I want to take a picture which saves in my usb through cvdrone by pressing 'o' (on the keyboard). How can I do that?? Thank you.