diff --git a/docs/source/index.rst b/docs/source/index.rst index 77c7fbe89..a4e1a31e2 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -90,6 +90,8 @@ Now, pick a tutorial or code sample and start utilizing Gen2 capabilities samples/16_device_queue_event.rst samples/17_video_mobilenet.rst samples/18_rgb_encoding_mobilenet.rst + samples/19_mono_camera_control docs.rst + samples/20_color_rotate_warp.rst samples/22_1_tiny_yolo_v3_decoding_on_device.rst samples/22_2_tiny_yolo_v4_decoding_on_device.rst samples/23_autoexposure_roi.rst diff --git a/docs/source/samples/20_color_rotate_warp.rst b/docs/source/samples/20_color_rotate_warp.rst new file mode 100644 index 000000000..9c2ae2a3a --- /dev/null +++ b/docs/source/samples/20_color_rotate_warp.rst @@ -0,0 +1,22 @@ +20 - Color Rotate Warp +====================== + +This example shows usage of ImageManip to crop a rotated rectangle area on a frame, or perform various image transforms: rotate, mirror, flip, +perspective transform. + +Setup +##### + +.. include:: /includes/install_from_pypi.rst + + +Source code +########### + +Also `available on GitHub `__ + +.. literalinclude:: ../../../examples/20_color_rotate_warp.py + :language: python + :linenos: + +.. include:: /includes/footer-short.rst diff --git a/examples/20_color_rotate_warp.py b/examples/20_color_rotate_warp.py index dd8b7e085..6da521be5 100755 --- a/examples/20_color_rotate_warp.py +++ b/examples/20_color_rotate_warp.py @@ -1,7 +1,7 @@ #!/usr/bin/env python3 """ -This example shows usage of ImageWarp to crop a rotated rectangle area on a frame, +This example shows usage of ImageManip to crop a rotated rectangle area on a frame, or perform various image transforms: rotate, mirror, flip, perspective transform. """