.. _example_vis:

Visualization of Dataset
========================


Get a GraspNet instance.

.. literalinclude:: ../../examples/exam_vis.py
    :lines: 7-14


Show grasp labels on a object.

.. literalinclude:: ../../examples/exam_vis.py
    :lines: 16-17

.. image:: _static/vis_single.png

Show 6D poses of objects in a scene.

.. literalinclude:: ../../examples/exam_vis.py
    :lines: 19-20

.. image:: _static/vis_6d.png

Show Rectangle grasp labels in a scene.

.. literalinclude:: ../../examples/exam_vis.py
    :lines: 22-23

.. image:: _static/vis_rect.png

Show 6D grasp labels in a scene.

.. literalinclude:: ../../examples/exam_vis.py
    :lines: 25-26

.. image:: _static/vis_grasp.png
