1 | initial version |
It is pretty simple, look at the following snippet:
Mat original_image, rotated_image;
apply_rotation(original_image, rotated_image);
imwrite("/home/data/temp.png", rotated_image);
Next time you should take a look at the documentation first and try to format your question correctly.