Skip to content

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)

void AIAC::Utils::Screenshot::CaptureBuffer () 


function CaptureWindow

Capture pixels of the current window.

void AIAC::Utils::Screenshot::CaptureWindow () 


function GenerateImageName

Generate the name of the image.

void AIAC::Utils::Screenshot::GenerateImageName (
    bool isWindow
) 

Parameters:

  • isWindow Flag to check if the image is a window screenshot if not it is a buffer screenshot

function SaveScreenshot

Save the screenshot.

void AIAC::Utils::Screenshot::SaveScreenshot (
    cv::Mat image
) 

Parameters:


function Screenshot

explicit AIAC::Utils::Screenshot::Screenshot (
    const std::string & basePath
) 


The documentation for this class was generated from the following file src/utils/Screenshot.h