Bundle OpenCV computer vision library. Image supports loading, saving, resizing, color conversion, blurring, edge detection, cropping, and drawing. VideoCapture reads from files or camera streams. Compile with -lib opencv.
VideoWriter
OpenCV VideoWriter for writing video files
Operations
FourCC # function
Computes a FourCC code from four characters. Example: FourCC('m', 'p', '4', 'v') for MP4V codec.
function : FourCC(c1:Char, c2:Char, c3:Char, c4:Char) ~ IntParameters
| Name | Type | Description |
|---|---|---|
| c1 | Char | first character |
| c2 | Char | second character |
| c3 | Char | third character |
| c4 | Char | fourth character |
Return
| Type | Description |
|---|---|
| Int | integer FourCC code |
IsOpen #
Checks if the VideoWriter has been successfully opened.
method : public : IsOpen() ~ BoolReturn
| Type | Description |
|---|---|
| Bool | true if the writer is open, false otherwise |