Ask Your Question

Revision history [back]

You can use cv::imwrite to write your images. Creating a folder is no computer vision task and depends on your OS, so it's not included in OpenCV. Have a look at boost::filesystem::create_directory for a simple way to create a new directory. If you have no way to generate meaningful names for your images, you can use the time as filename (http://stackoverflow.com/a/16358264/4371007).