|
| void | run (cv::Mat frame) |
| | Runs the thread function: displays and writes a video frame.
|
| void | saveFrame (cv::Mat frame) |
| | Saves a single video frame to the output file.
|
| void | setVideoWriter (cv::String fileName, int codec, int FPS, cv::Size size, bool isColor) |
| | Configures the video writer with new parameters.
|
|
|
| SaveVid_Thread (cv::String fileName, int codec, int FPS, cv::Size size, bool isColor) |
◆ run
| void SaveVid_Thread::run |
( |
cv::Mat | frame | ) |
|
|
slot |
Runs the thread function: displays and writes a video frame.
- Parameters
-
| frame | Video frame to display and save. |
◆ saveFrame
| void SaveVid_Thread::saveFrame |
( |
cv::Mat | frame | ) |
|
|
slot |
Saves a single video frame to the output file.
- Parameters
-
| frame | Video frame to save. |
◆ setVideoWriter
| void SaveVid_Thread::setVideoWriter |
( |
cv::String | fileName, |
|
|
int | codec, |
|
|
int | FPS, |
|
|
cv::Size | size, |
|
|
bool | isColor ) |
|
slot |
Configures the video writer with new parameters.
- Parameters
-
| fileName | Output video file path. |
| codec | FourCC codec identifier. |
| FPS | Frames per second. |
| size | Frame size (width, height). |
| isColor | True if video is in color. |
The documentation for this class was generated from the following files: