We'll explore how to process some aerial images and retrieve the results. To do that we'll need to:
- Authenticate
- Create a [Project](#project). Projects are a way to group together related [Task](#task) items
- Upload some images to create a [Task](#task)
- Check for [Task](#task) progress. Photogrammetry can take a long time, so results could take a few minutes to a few hours to be processed.
- Download an orthophoto from a successful [Task](#task)
<asideclass="notice">Most of the examples in this document use <ahref="http://docs.python-requests.org/en/latest/index.html"target="_blank">requests</a>. Make sure it's installed before running any code:<br/><br/>
The <ahref="https://github.com/OpenDroneMap/WebODM/tree/master/slate/examples/process_images.py"target="_blank">source code</a> for this example is available on GitHub</a>.
Then we need to create a <ahref="#project">Project</a>. We pass our `token` via the `Authorization` header. If we forget to pass this header, the system will not authenticate us and will refuse to process the request. We assign a `name` to the project.
We can then create a <ahref="#task">Task</a>. The only required parameter is a list of multiple, multipart-encoded `images`. Processing will start automatically
as soon as a <ahref="#processingnode">Processing Node</a> is available. It is possible to specify additional options by passing an `options` value, which is a JSON-encoded list of name/value pairs. Several other options are available. See the <ahref="#task">Task</a> reference for more information.
Our orthophoto is ready to be downloaded. A variety of other assets, including a dense 3D point cloud and a textured model <ahref="#download">is also available</a>.
A <ahref=""target="_blank">TMS</a> layer is also made available at `http://localhost:8000/api/projects/{project_id}/tasks/{task_id}/tiles.json` for inclusion in programs such as <ahref="http://leafletjs.com/"target="_blank">Leaflet</a> or <ahref="http://cesiumjs.org"target="_blank">Cesium</a>.