:orphan:

Example gallery
===============

Below is a gallery of examples



.. raw:: html

    <div class="sphx-glr-thumbnails">


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="The torchvision.datapoints namespace was introduced together with torchvision.transforms.v2. Th...">

.. only:: html

  .. image:: /auto_examples/images/thumb/sphx_glr_plot_datapoints_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_plot_datapoints.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Datapoints FAQ</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="This example illustrates various features that are now supported by the image transformations &lt;...">

.. only:: html

  .. image:: /auto_examples/images/thumb/sphx_glr_plot_scripted_tensor_transforms_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_plot_scripted_tensor_transforms.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Tensor transforms and JIT</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Most computer vision tasks are not supported out of the box by torchvision.transforms v1, since...">

.. only:: html

  .. image:: /auto_examples/images/thumb/sphx_glr_plot_transforms_v2_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_plot_transforms_v2.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Getting started with transforms v2</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Object detection is not supported out of the box by torchvision.transforms v1, since it only su...">

.. only:: html

  .. image:: /auto_examples/images/thumb/sphx_glr_plot_transforms_v2_e2e_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_plot_transforms_v2_e2e.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Transforms v2: End-to-end object detection example</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Optical flow is the task of predicting movement between two images, usually two consecutive fra...">

.. only:: html

  .. image:: /auto_examples/images/thumb/sphx_glr_plot_optical_flow_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_plot_optical_flow.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Optical Flow: Predicting movement with the RAFT model</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="The following example illustrates the operations available the ops module for repurposing segme...">

.. only:: html

  .. image:: /auto_examples/images/thumb/sphx_glr_plot_repurposing_annotations_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_plot_repurposing_annotations.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Repurposing masks into bounding boxes</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="This example illustrates the various transforms available in the torchvision.transforms module ...">

.. only:: html

  .. image:: /auto_examples/images/thumb/sphx_glr_plot_transforms_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_plot_transforms.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Illustration of transforms</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="This example illustrates some of the utilities that torchvision offers for visualizing images, ...">

.. only:: html

  .. image:: /auto_examples/images/thumb/sphx_glr_plot_visualization_utils_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_plot_visualization_utils.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Visualization utilities</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="This example illustrates some of the APIs that torchvision offers for videos, together with the...">

.. only:: html

  .. image:: /auto_examples/images/thumb/sphx_glr_plot_video_api_thumb.png
    :alt:

  :ref:`sphx_glr_auto_examples_plot_video_api.py`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Video API</div>
    </div>


.. raw:: html

    </div>


.. toctree::
   :hidden:

   /auto_examples/plot_datapoints
   /auto_examples/plot_scripted_tensor_transforms
   /auto_examples/plot_transforms_v2
   /auto_examples/plot_transforms_v2_e2e
   /auto_examples/plot_optical_flow
   /auto_examples/plot_repurposing_annotations
   /auto_examples/plot_transforms
   /auto_examples/plot_visualization_utils
   /auto_examples/plot_video_api


.. only:: html

  .. container:: sphx-glr-footer sphx-glr-footer-gallery

    .. container:: sphx-glr-download sphx-glr-download-python

      :download:`Download all examples in Python source code: auto_examples_python.zip </auto_examples/auto_examples_python.zip>`

    .. container:: sphx-glr-download sphx-glr-download-jupyter

      :download:`Download all examples in Jupyter notebooks: auto_examples_jupyter.zip </auto_examples/auto_examples_jupyter.zip>`


.. only:: html

 .. rst-class:: sphx-glr-signature

    `Gallery generated by Sphinx-Gallery <https://sphinx-gallery.github.io>`_