| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
A GPU-enabled photogrammetry pipeline to generate georeferenced point clouds, orthophotos and elevation models from aerial images using COLMAP.
It's compatible with the NodeODM API so it works out of the box with many of the tools of the OpenDroneMap ecosystem such as WebODM, ClusterODM and CloudODM.
While a GPU can speed up certain steps of the pipeline, it is not required for use. CPU algorithms are implemented in case a GPU is not available.
⚠️ NodeCM is in early stages of development. It works on several test datasets, but software faults are expected.
We recommend that you setup NodeCM using Docker.
First, build your image (this will take a while):
$ git clone https://github.com/uav4geo/NodeCM
$ cd NodeCM
$ docker build -t uav4geo/nodecm .$ docker run --rm -ti -p 3000:3000 uav4geo/nodecm
⚠️ If you want to use the GPU features of NodeCM, you need to have one or more NVIDIA GPUs compatible with CUDA and make sure that docker can communite with it. You can run nvidia-smi to test that docker is configured properly:
$ docker run --rm --gpus all nvidia/cuda:10.0-base nvidia-smiIf you see an output that looks like this:
Fri Jul 24 18:51:55 2020 +-----------------------------------------------------------------------------+ | NVIDIA-SMI 440.82 Driver Version: 440.82 CUDA Version: 10.2 | |-------------------------------+----------------------+----------------------+ | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC | | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
You're in good shape!
Then you must pass --gpus all to the docker command:
$ docker run --rm --gpus all -ti -p 3000:3000 uav4geo/nodecmSee https://github.com/NVIDIA/nvidia-docker and https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/install-guide.html#docker for information on docker/NVIDIA setup.
You don't have to run NodeCM from a browser. You can also run it directly from the command line (useful for scripting workflows):
First, place some images in your project's images folder:
$ ls /path/to/project
images
$ ls /path/to/project/images
DJI_0018.JPG DJI_0019.JPG ...Then run:
$ ./nodecm /path/to/project --orthophoto-resolution 2If you want to use GPUs use:
$ USE_GPU=ON ./nodecm /path/to/project --orthophoto-resolution 2To view all command line options run:
$ ./nodecm --helpIf you want to store results on a separate drive, map the /app/NodeODM/data folder to the location of your drive:
$ docker run -p 3000:3000 -v /mnt/external_hd:/app/NodeODM/data uav4geo/nodecmThis can be also used to access the computation results directly from the file system.
You can find some test drone images here.
We welcome contributions! Send pull requests ❤️ bug reports and whatever is useful to you.
NodeCM is in beta. It hasn't been battle-tested and issues are expected. We are aware of the following list of things that still need to be improved (help us improve them)!
This codebase: Affero GPL
COLMAP: BSD
OpenDroneMap/NodeODM modules: GPL
Because of restrictive licenses in some of COLMAP's dependencies, if you use the GPU features of NodeCM, you cannot use NodeCM for purposes other than educational, research and non-profit without obtaining permission from the University of North Carolina at Chapel Hill. COLMAP uses the SIFT GPU library, which is released under the following license:
//////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2007 University of North Carolina at Chapel Hill // All Rights Reserved // // Permission to use, copy, modify and distribute this software and its // documentation for educational, research and non-profit purposes, without // fee, and without a written agreement is hereby granted, provided that the // above copyright notice and the following paragraph appear in all copies. // // The University of North Carolina at Chapel Hill make no representations // about the suitability of this software for any purpose. It is provided // 'as is' without express or implied warranty. // // Please send BUG REPORTS to ccwu@cs.unc.edu // ////////////////////////////////////////////////////////////////////////////
We understand this is unfortunate. Contribute a PR to replace SIFT GPU in COLMAP.
| Back | FazBrowse Home | New Git URL |