Skip to content

Commit 7942720

Browse files
committed
Added missing demos
1 parent abfb475 commit 7942720

File tree

2 files changed

+11
-9
lines changed

2 files changed

+11
-9
lines changed

docs/source/samples/ImageManip/rgb_rotate_warp.rst

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,17 @@ Setup
1212
Demo
1313
####
1414

15-
.. raw:: html
15+
.. image:: https://user-images.githubusercontent.com/18037362/152208899-461fa163-42ec-4922-84b5-5cd09332ea32.png
16+
17+
.. code-block::
18+
19+
=== Controls:
20+
z -rotated rectangle crop, decrease rate
21+
x -rotated rectangle crop, increase rate
22+
c -warp 4-point transform, cycle through modes
23+
v -resize cropped region, or disable resize
24+
h -print controls (help)
1625
17-
<div style="position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; height: auto;">
18-
<iframe src="https://www.youtube.com/embed/31K5dTLHQac" frameborder="0" allowfullscreen style="position: absolute; top: 0; left: 0; width: 100%; height: 100%;"></iframe>
19-
</div>
2026
2127
Source code
2228
###########

docs/source/samples/SpatialDetection/spatial_location_calculator.rst

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,7 @@ You can also calculate spatial coordiantes on host side, `demo here <https://git
1616
Demo
1717
####
1818

19-
.. raw:: html
20-
21-
<div style="position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; height: auto;">
22-
<iframe src="https://www.youtube.com/embed/mbZViuS4WEQ" frameborder="0" allowfullscreen style="position: absolute; top: 0; left: 0; width: 100%; height: 100%;"></iframe>
23-
</div>
19+
.. image:: https://user-images.githubusercontent.com/18037362/146296930-9e7071f5-33b9-45f9-af21-cace7ffffc0f.gif
2420

2521
Setup
2622
#####

0 commit comments

Comments
 (0)