more renaming

pull/3471/head
kallaballa 2 years ago
parent 20c48b93ad
commit 9cedae25b7
  1. 6
      modules/v4d/tutorials/00-intro.markdown
  2. 2
      modules/v4d/tutorials/05-video_editing.markdown

@ -45,10 +45,10 @@ Please note that the following online demos are slower and/or have less features
For example, to create an OpenGL context and set the GL viewport: For example, to create an OpenGL context and set the GL viewport:
@code{.cpp} @code{.cpp}
//Creates a V4D object for on screen rendering //Creates a V4D object for on screen rendering
Ptr<V4D> v2d = V4D::make(Size(WIDTH, HEIGHT), "GL viewport"); Ptr<V4D> v4d = V4D::make(Size(WIDTH, HEIGHT), "GL viewport");
//Takes care of OpenGL states in the background //Takes care of OpenGL states in the background
v2d->gl([](const Size sz) { v4d->gl([](const Size sz) {
glViewPort(0, 0, sz.width, sz.height); glViewPort(0, 0, sz.width, sz.height);
}); });
@endcode @endcode
@ -170,4 +170,4 @@ modules/v4d/samples/cpp/beauty/beauty-demo bunny.webm
* The author of the bunny video is the **Blender Foundation** ([Original video](https://www.bigbuckbunny.org)). * The author of the bunny video is the **Blender Foundation** ([Original video](https://www.bigbuckbunny.org)).
* The author of the dance video is **GNI Dance Company** ([Original video](https://www.youtube.com/watch?v=yg6LZtNeO_8)). * The author of the dance video is **GNI Dance Company** ([Original video](https://www.youtube.com/watch?v=yg6LZtNeO_8)).
* The author of the video used in the beauty-demo video is **Kristen Leanne** ([Original video](https://www.youtube.com/watch?v=hUAT8Jm_dvw&t=11s)). * The author of the video used in the beauty-demo video is **Kristen Leanne** ([Original video](https://www.youtube.com/watch?v=hUAT8Jm_dvw&t=11s)).
* The author of cxxpool is **Copyright (c) 2022 Christian Blume**: ([LICENSE](https://github.com/bloomen/cxxpool/blob/master/LICENSE)) * The author of cxxpool is **Copyright (c) 2022 Christian Blume**: ([LICENSE](https://github.com/bloomen/cxxpool/blob/master/LICENSE))

@ -9,7 +9,7 @@
| Compatibility | OpenCV >= 4.7 | | Compatibility | OpenCV >= 4.7 |
## Render text on top of a video ## Render text on top of a video
Through adding a Source and a Sink v2d becomes capable of video editing. Reads a video, renders text on top and writes the result. Note: Reading and writing of video-data is multi-threaded in the background for performance reasons. Through adding a Source and a Sink v4d becomes capable of video editing. Reads a video, renders text on top and writes the result. Note: Reading and writing of video-data is multi-threaded in the background for performance reasons.
@include samples/cpp/video_editing.cpp @include samples/cpp/video_editing.cpp

Loading…
Cancel
Save