Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
22 changes: 22 additions & 0 deletions docs/source/samples/20_color_rotate_warp.rst
Original file line number Diff line number Diff line change
@@ -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 <https://github.com/luxonis/depthai-python/blob/main/examples/20_color_rotate_warp.py>`__

.. literalinclude:: ../../../examples/20_color_rotate_warp.py
:language: python
:linenos:

.. include:: /includes/footer-short.rst
2 changes: 1 addition & 1 deletion examples/20_color_rotate_warp.py
Original file line number Diff line number Diff line change
@@ -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.
"""

Expand Down