DeepForest is a python package for training and predicting ecological objects in airborne imagery. DeepForest currently comes with a tree crown object detection model and a bird detection model. Both are single class modules that can be extended to species classification based on new data. Users can extend these models by annotating and training custom models.
DeepForest is documented on readthedocs
DeepForest uses deep learning object detection networks to predict bounding boxes corresponding to individual trees in RGB imagery. DeepForest is built on the object detection module from the torchvision package and designed to make training models for detection simpler.
For more about the motivation behind DeepForest, see some recent talks we have given on computer vision for ecology and practical applications to machine learning in environmental monitoring.
Given the enormous array of forest types and image acquisition environments, it is unlikely that your image will be perfectly predicted by a prebuilt model. Below are some tips and some general guidelines to improve predictions.
Get suggestions on how to improve a model by using the discussion board. Please be aware that only feature requests or bug reports should be posted on the issues page.
If you are a new contributor to DeepForest, welcome and thank you! Here are some suggestions that we hope will make the submission process more smooth:
- Look out for good first issues. These should be accessible to less experienced developers and will help you get oriented with the code.
- Check that the functionality you are suggesting doesn't already exist. Perhaps it does, but needs improved documentation.
- Search for issues or discussions on Github already, before submitting a PR. Do check closed issues as well.
- If you are submitting a trivial improvement (like a one-line bug fix), feel free to PR directly, following the template.
- If you want to propose any non-trivial changes without an existing issue please open an issue to discuss the change prior to opening a PR. Non-trivial PR's submitted without an associated issue that includes maintainer approval to proceed with a PR will typically not be considered.
Please follow the developer's guide for more details on contribution.
Free software: MIT license
Remote sensing can transform the speed, scale, and cost of biodiversity and forestry surveys. Data acquisition currently outpaces the ability to identify individual organisms in high-resolution imagery. Individual crown delineation has been a long-standing challenge in remote sensing, and available algorithms produce mixed results. DeepForest is the first open-source implementation of a deep learning model for crown detection. Deep learning has made enormous strides in a range of computer vision tasks but requires significant amounts of training data. By including a trained model, we hope to simplify the process of retraining deep learning models for a range of forests, sensors, and spatial resolutions.
Most usage of DeepForest should cite two papers.
The first is the DeepForest paper, which describes the package:
The second is the paper describing the model.
For the tree detection model cite:
For the bird detection model cite:


