| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
A Python library to perform forward and backward projection of 2D coordinates in camera space to geographic coordinates on ODX datasets. In simple terms, with an ODX dataset at hand you can use this library to ask:
pip install -U https://github.com/WebODM/CameraLib/archive/main.zipNote we developed the library using Python 3.12. If you're having issues with other versions of Python, you might need to relax the versions in requirements.txt.
Check the documentation and examples.
Along with functions for doing coordinates projection, in the cameralib.utils package we also offer utilities to read certain annotation file formats. A use case for this is to use a software such as X-AnyLabeling to annotate an image and then use this library to project the polygon/bounding boxes to geographic coordinates.
CameraLib requires the following files from an ODX project. It's important that you process a dataset with the --dsm or --dtm option.
After installing cameralib you can download any of the examples into a folder of your choice and run:
python helloworld.pyWe welcome contributions! Pull requests are welcome.
There are many ways to contribute to the project:
The code in this repository is licensed under the AGPLv3.
| Back | FazBrowse Home | New Git URL |