Skip to content

Commit c63b443

Browse files
committed
Merge pull request opencv#9872 from alalek:fix_documentation
2 parents 505c90e + 69e5ac6 commit c63b443

File tree

14 files changed

+16
-72
lines changed

14 files changed

+16
-72
lines changed

doc/Doxyfile.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ ALIASES += add_toggle_python="@htmlonly[block] <div class='newInne
3838
ALIASES += end_toggle="@htmlonly[block] </div> @endhtmlonly"
3939
ALIASES += prev_tutorial{1}="**Prev Tutorial:** \ref \1 \n"
4040
ALIASES += next_tutorial{1}="**Next Tutorial:** \ref \1 \n"
41-
ALIASES += youtube{1}="@htmlonly[block]<div align='center'><iframe title='my title' width='560' height='349' src='http://www.youtube.com/embed/\1?rel=0' frameborder='0' align='middle' allowfullscreen></iframe></div>@endhtmlonly"
41+
ALIASES += youtube{1}="@htmlonly[block]<div align='center'><iframe title='Video' width='560' height='349' src='https://www.youtube.com/embed/\1?rel=0' frameborder='0' align='middle' allowfullscreen></iframe></div>@endhtmlonly"
4242
TCL_SUBST =
4343
OPTIMIZE_OUTPUT_FOR_C = NO
4444
OPTIMIZE_OUTPUT_JAVA = NO

doc/tutorials/calib3d/camera_calibration/camera_calibration.markdown

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -279,8 +279,4 @@ quality cameras.
279279
You may observe a runtime instance of this on the [YouTube
280280
here](https://www.youtube.com/watch?v=ViPN810E0SU).
281281

282-
\htmlonly
283-
<div align="center">
284-
<iframe title=" Camera calibration With OpenCV - Chessboard or asymmetrical circle pattern." width="560" height="349" src="http://www.youtube.com/embed/ViPN810E0SU?rel=0&loop=1" frameborder="0" allowfullscreen align="middle"></iframe>
285-
</div>
286-
\endhtmlonly
282+
@youtube{ViPN810E0SU}

doc/tutorials/calib3d/real_time_pose/real_time_pose.markdown

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -791,13 +791,5 @@ int minInliersKalman = 30; // Kalman threshold updating
791791
You can watch the real time pose estimation on the [YouTube
792792
here](http://www.youtube.com/user/opencvdev/videos).
793793

794-
\htmlonly
795-
<div align="center">
796-
<iframe title="Pose estimation of textured object using OpenCV" width="560" height="349" src="http://www.youtube.com/embed/XNATklaJlSQ?rel=0&loop=1" frameborder="0" allowfullscreen align="middle"></iframe>
797-
</div>
798-
\endhtmlonly
799-
\htmlonly
800-
<div align="center">
801-
<iframe title="Pose estimation of textured object using OpenCV in cluttered background" width="560" height="349" src="http://www.youtube.com/embed/YLS9bWek78k?rel=0&loop=1" frameborder="0" allowfullscreen align="middle"></iframe>
802-
</div>
803-
\endhtmlonly
794+
@youtube{XNATklaJlSQ}
795+
@youtube{YLS9bWek78k}

doc/tutorials/core/file_input_output_with_xml_yml/file_input_output_with_xml_yml.markdown

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -263,8 +263,4 @@ MyData:
263263
You may observe a runtime instance of this on the [YouTube
264264
here](https://www.youtube.com/watch?v=A4yqVnByMMM) .
265265

266-
\htmlonly
267-
<div align="center">
268-
<iframe title="File Input and Output using XML and YAML files in OpenCV" width="560" height="349" src="http://www.youtube.com/embed/A4yqVnByMMM?rel=0&loop=1" frameborder="0" allowfullscreen align="middle"></iframe>
269-
</div>
270-
\endhtmlonly
266+
@youtube{A4yqVnByMMM}

doc/tutorials/core/how_to_scan_images/how_to_scan_images.markdown

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -214,8 +214,4 @@ the safety trait of iterators.
214214

215215
Finally, you may watch a sample run of the program on the [video posted](https://www.youtube.com/watch?v=fB3AN5fjgwc) on our YouTube channel.
216216

217-
\htmlonly
218-
<div align="center">
219-
<iframe title="How to scan images in OpenCV?" width="560" height="349" src="http://www.youtube.com/embed/fB3AN5fjgwc?rel=0&loop=1" frameborder="0" allowfullscreen align="middle"></iframe>
220-
</div>
221-
\endhtmlonly
217+
@youtube{fB3AN5fjgwc}

doc/tutorials/core/interoperability_with_OpenCV_1/interoperability_with_OpenCV_1.markdown

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,4 @@ or find it in the
137137
`samples/cpp/tutorial_code/core/interoperability_with_OpenCV_1/interoperability_with_OpenCV_1.cpp`
138138
of the OpenCV source code library.
139139

140-
\htmlonly
141-
<div align="center">
142-
<iframe title="Interoperability with OpenCV 1" width="560" height="349" src="http://www.youtube.com/embed/qckm-zvo31w?rel=0&loop=1" frameborder="0" allowfullscreen align="middle"></iframe>
143-
</div>
144-
\endhtmlonly
140+
@youtube{qckm-zvo31w}

doc/tutorials/core/mat_the_basic_image_container/mat_the_basic_image_container.markdown

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -266,8 +266,4 @@ or in the core section of the cpp samples.
266266
You can also find a quick video demonstration of this on
267267
[YouTube](https://www.youtube.com/watch?v=1tibU7vGWpk).
268268

269-
\htmlonly
270-
<div align="center">
271-
<iframe title="Install OpenCV by using its source files - Part 1" width="560" height="349" src="http://www.youtube.com/embed/1tibU7vGWpk?rel=0&loop=1" frameborder="0" allowfullscreen align="middle"></iframe>
272-
</div>
273-
\endhtmlonly
269+
@youtube{1tibU7vGWpk}

doc/tutorials/gpu/gpu-basics-similarity/gpu_basics_similarity.markdown

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,4 @@ In both cases we managed a performance increase of almost 100% compared to the C
203203
It may be just the improvement needed for your application to work. You may observe a runtime
204204
instance of this on the [YouTube here](https://www.youtube.com/watch?v=3_ESXmFlnvY).
205205

206-
\htmlonly
207-
<div align="center">
208-
<iframe title="Similarity check (PNSR and SSIM) on the GPU" width="560" height="349" src="http://www.youtube.com/embed/3_ESXmFlnvY?rel=0&loop=1" frameborder="0" allowfullscreen align="middle"></iframe>
209-
</div>
210-
\endhtmlonly
206+
@youtube{3_ESXmFlnvY}

doc/tutorials/introduction/display_image/display_image.markdown

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,4 @@ Result
105105

106106
![](images/Display_Image_Tutorial_Result.jpg)
107107

108-
\htmlonly
109-
<div align="center">
110-
<iframe title="Introduction - Display an Image" width="560" height="349" src="http://www.youtube.com/embed/1OJEqpuaGc4?rel=0&loop=1" frameborder="0" allowfullscreen align="middle"></iframe>
111-
</div>
112-
\endhtmlonly
108+
@youtube{1OJEqpuaGc4}

doc/tutorials/introduction/windows_install/windows_install.markdown

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -105,12 +105,8 @@ Installation by Making Your Own Libraries from the Source Files {#tutorial_windo
105105
You may find the content of this tutorial also inside the following videos:
106106
[Part 1](https://www.youtube.com/watch?v=NnovZ1cTlMs) and [Part 2](https://www.youtube.com/watch?v=qGNWMcfWwPU), hosted on YouTube.
107107

108-
\htmlonly
109-
<div align="center">
110-
<iframe title="Install OpenCV by using its source files - Part 1" width="560" height="349" src="http://www.youtube.com/embed/NnovZ1cTlMs?rel=0&loop=1" frameborder="0" allowfullscreen align="middle"></iframe>
111-
<iframe title="Install OpenCV by using its source files - Part 2" width="560" height="349" src="http://www.youtube.com/embed/qGNWMcfWwPU?rel=0&loop=1" frameborder="0" allowfullscreen align="middle"></iframe>
112-
</div>
113-
\endhtmlonly
108+
@youtube{NnovZ1cTlMs}
109+
@youtube{qGNWMcfWwPU}
114110

115111
**warning**
116112

0 commit comments

Comments
 (0)