Skip to content

🐍 Geometric Computer Vision Library for Spatial AI

simplify readme

Edgar Riba1273516f87a5
diff --git a/README.rst b/README.rst
index 5d6fa381d..132564593 100644
--- a/README.rst
+++ b/README.rst
@@ -9,43 +9,12 @@
.. image:: https://travis-ci.com/arraiy/torchgeometry.svg?branch=master
:target: https://travis-ci.com/arraiy/torchgeometry
-What is torchgeometry?
-===========
-The torchgeometry package consists of a set of routines and differentiable modules to solve generic geometry problems. At its core, the package uses PyTorch as its main backend both for efficiency and to take advantage of autograd to define and compute the gradient of complex functions. In this first version, we provide different functions designed mainly for computer vision applications, such as image and tensors warping modules which rely on the epipolar geometry theory. The roadmap will include adding more and more functionality so that developers in the short term can use the package for the purpose of optimizing their loss functions to solve geometry problems.
-
-Version v0.1.0 focuses on Image and tensor warping functions such as:
-
-* Calibration
-* Epipolar geometry
-* Homography
-* Depth
-
-Quick Usage
-===========
-
-.. code:: python
-
- import torch
- import torchgeometry as tgm
-
- x_rad = tgm.pi * torch.rand(1, 3, 3)
- x_deg = tgm.rad2deg(x_rad)
-
- torch.allclose(x_rad, tgm.deg2rad(x_deg)) # True
-
--------------------------------------------------------
-
-.. code:: python
- import torch
- import torchgeometry as tgm
-
- img_ref = torch.rand(1, 3, 32, 32) # NxCxHxW
- dst_homo_ref = torch.eye(3) + eps # Nx3x3
+`Documentation <https://arraiy.github.io/torchgeometry/>`_
- warper = tgm.HomographyWarper(32, 32)
- img_ref_to_dst = warper(img_ref, dst_homo_ref) # NxCxHxW
+The *PyTorch Geometry* package is a geometric computer vision library for `PyTorch <https://pytorch.org/>`_.
+It consists of a set of routines and differentiable modules to solve generic geometry computer vision problems. At its core, the package uses *PyTorch* as its main backend both for efficiency and to take advantage of the reverse-mode auto-differentiation to define and compute the gradient of complex functions.
Development Setup
=================
@@ -62,13 +31,30 @@ and some dependencies (no root required).
python -c "import torchgeometry; print(torchgeometry.__version__)"
-
To install, or update the conda environment run ``setup_dev_env.sh``
.. code:: bash
./setup_dev_env.sh
+Quick Usage
+===========
+
+.. code:: python
+
+ import torch
+ import torchgeometry as tgm
+
+ x_rad = tgm.pi * torch.rand(1, 3, 3)
+ x_deg = tgm.rad2deg(x_rad)
+
+ torch.allclose(x_rad, tgm.deg2rad(x_deg)) # True
+
+Examples
+========
+
+Run our Jupyter notebooks `examples <https://github.com/arraiy/torchgeometry/tree/master/examples/>`_ to learn to use the library.
+
Installation
============
@@ -94,7 +80,7 @@ If you are using torchgeometry in your research-related documents, it is recomme
.. code:: bash
@misc{Arraiy2018,
- author = {E. Riba, M Fathollahi, W. Chaney, E. Rublee and G. Bradski}
+ author = {E. Riba, M. Fathollahi, W. Chaney, E. Rublee and G. Bradski}
title = {torchgeometry: when PyTorch meets geometry},
booktitle = {PyTorch Developer Conference},
year = {2018},