LARS
LARS (Light Augmented Reality System) is an open-source framework for light-based interaction and real-time tracking in multi-robot experiments. Inspired by ARK, LARS extends the augmented reality paradigm to robotic collectives by projecting dynamic visual cues and environments onto the arena, enabling new experimental possibilities for collective robotics research, education, and outreach. LARS features integrated tracking, light projection, and modular experiment control with a user-friendly Qt GUI.
Loading...
Searching...
No Matches
saveVidThread Class Reference
Inheritance diagram for saveVidThread:

Public Slots

void run (cv::Mat frame)
 Writes a video frame (cv::Mat) to the output file.
void run (QImage frame)
 Converts a QImage frame to cv::Mat and writes it to the output file.
void release ()
 Releases the video writer and any associated resources.
void saveFrame (cv::Mat frame)
 Saves a single video frame (cv::Mat) to the output file.

Public Member Functions

 saveVidThread (cv::String fileName, int codec, int FPS, cv::Size size, bool isColor)
 Constructs the saveVidThread object and initializes the video writer.

Constructor & Destructor Documentation

◆ saveVidThread()

saveVidThread::saveVidThread ( cv::String fileName,
int codec,
int FPS,
cv::Size size,
bool isColor )

Constructs the saveVidThread object and initializes the video writer.

Parameters
fileNameOutput video file path.
codecFourCC codec identifier.
FPSFrames per second for video output.
sizeFrame size (width, height).
isColorTrue if video is in color.

Member Function Documentation

◆ run [1/2]

void saveVidThread::run ( cv::Mat frame)
slot

Writes a video frame (cv::Mat) to the output file.

Parameters
frameVideo frame to save.

◆ run [2/2]

void saveVidThread::run ( QImage frame)
slot

Converts a QImage frame to cv::Mat and writes it to the output file.

Parameters
frameQImage frame to save.

◆ saveFrame

void saveVidThread::saveFrame ( cv::Mat frame)
slot

Saves a single video frame (cv::Mat) to the output file.

Parameters
frameVideo frame to save.

The documentation for this class was generated from the following files: