Class AIAC::Utils::Screenshot¶
ClassList > AIAC > Utils > Screenshot
Public Functions¶
| Type | Name |
|---|---|
| void | CaptureBuffer () Capture current buffer (color) |
| void | CaptureWindow () Capture pixels of the current window. |
| void | GenerateImageName (bool isWindow) Generate the name of the image. |
| void | SaveScreenshot (cv::Mat image) Save the screenshot. |
| Screenshot (const std::string & basePath) |
Public Functions Documentation¶
function CaptureBuffer¶
Capture current buffer (color)
function CaptureWindow¶
Capture pixels of the current window.
function GenerateImageName¶
Generate the name of the image.
Parameters:
isWindowFlag to check if the image is a window screenshot if not it is a buffer screenshot
function SaveScreenshot¶
Save the screenshot.
Parameters:
imageImage to save
function Screenshot¶
The documentation for this class was generated from the following file src/utils/Screenshot.h