Commit 24da1ba3 authored by Ishank gulati's avatar Ishank gulati Committed by ishank08

added videoio docs and tutorials

parent 8d79285d
...@@ -12,24 +12,6 @@ use the built-in graphical user interface of the library. ...@@ -12,24 +12,6 @@ use the built-in graphical user interface of the library.
We will learn how to add a Trackbar to our applications We will learn how to add a Trackbar to our applications
- @subpage tutorial_video_input_psnr_ssim
*Compatibility:* \> OpenCV 2.0
*Author:* Bernát Gábor
You will learn how to read video streams, and how to calculate similarity values such as PSNR
or SSIM.
- @subpage tutorial_video_write
*Compatibility:* \> OpenCV 2.0
*Author:* Bernát Gábor
Whenever you work with video feeds you may eventually want to save your image processing
result in a form of a new video file. Here's how to do it.
- @subpage tutorial_raster_io_gdal - @subpage tutorial_raster_io_gdal
*Compatibility:* \> OpenCV 2.0 *Compatibility:* \> OpenCV 2.0
......
...@@ -71,6 +71,10 @@ As always, we would be happy to hear your comments and receive your contribution ...@@ -71,6 +71,10 @@ As always, we would be happy to hear your comments and receive your contribution
Run OpenCV and your vision apps on an iDevice Run OpenCV and your vision apps on an iDevice
- @subpage tutorial_table_of_content_videoio
These tutorials show how to read and write videos using videio module.
- @subpage tutorial_table_of_content_viz - @subpage tutorial_table_of_content_viz
These tutorials show how to use Viz module effectively. These tutorials show how to use Viz module effectively.
Video Input and Output (videoio module) {#tutorial_table_of_content_videoio}
=========================================
This section contains tutorials about how to read/save your video files.
- @subpage tutorial_video_input_psnr_ssim
*Compatibility:* \> OpenCV 2.0
*Author:* Bernát Gábor
You will learn how to read video streams, and how to calculate similarity values such as PSNR
or SSIM.
- @subpage tutorial_video_write
*Compatibility:* \> OpenCV 2.0
*Author:* Bernát Gábor
\ No newline at end of file
...@@ -20,12 +20,12 @@ As a test case where to show off these using OpenCV I've created a small program ...@@ -20,12 +20,12 @@ As a test case where to show off these using OpenCV I've created a small program
video files and performs a similarity check between them. This is something you could use to check video files and performs a similarity check between them. This is something you could use to check
just how well a new video compressing algorithms works. Let there be a reference (original) video just how well a new video compressing algorithms works. Let there be a reference (original) video
like [this small Megamind clip like [this small Megamind clip
](https://github.com/Itseez/opencv/tree/master/samples/cpp/tutorial_code/HighGUI/video-input-psnr-ssim/video/Megamind.avi) and [a compressed ](https://github.com/Itseez/opencv/tree/master/samples/cpp/tutorial_code/videoio/video-input-psnr-ssim/video/Megamind.avi) and [a compressed
version of it ](https://github.com/Itseez/opencv/tree/master/samples/cpp/tutorial_code/HighGUI/video-input-psnr-ssim/video/Megamind_bugy.avi). version of it ](https://github.com/Itseez/opencv/tree/master/samples/cpp/tutorial_code/videoio/video-input-psnr-ssim/video/Megamind_bugy.avi).
You may also find the source code and these video file in the You may also find the source code and these video file in the
`samples/cpp/tutorial_code/HighGUI/video-input-psnr-ssim/` folder of the OpenCV source library. `samples/cpp/tutorial_code/videoio/video-input-psnr-ssim/` folder of the OpenCV source library.
@include cpp/tutorial_code/HighGUI/video-input-psnr-ssim/video-input-psnr-ssim.cpp @include cpp/tutorial_code/videoio/video-input-psnr-ssim/video-input-psnr-ssim.cpp
How to read a video stream (online-camera or offline-file)? How to read a video stream (online-camera or offline-file)?
----------------------------------------------------------- -----------------------------------------------------------
......
...@@ -30,10 +30,10 @@ The source code ...@@ -30,10 +30,10 @@ The source code
--------------- ---------------
You may also find the source code and these video file in the You may also find the source code and these video file in the
`samples/cpp/tutorial_code/highgui/video-write/` folder of the OpenCV source library or [download it `samples/cpp/tutorial_code/videoio/video-write/` folder of the OpenCV source library or [download it
from here ](https://github.com/Itseez/opencv/tree/master/samples/cpp/tutorial_code/HighGUI/video-write/video-write.cpp). from here ](https://github.com/Itseez/opencv/tree/master/samples/cpp/tutorial_code/videoio/video-write/video-write.cpp).
@include cpp/tutorial_code/HighGUI/video-write/video-write.cpp @include cpp/tutorial_code/videoio/video-write/video-write.cpp
The structure of a video The structure of a video
------------------------ ------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment