Note: This document is for an older version of GRASS GIS that is outdated. You should upgrade, and read the current addon manual page.
Mask R-CNN tools allow the user to train his own model and use it for a detection of objects, or to use a model provided by someone else. It can be seen as a supervised classification using convolutional neural networks.
The training is done using module i.ann.maskrcnn.train. The user feeds the module with training data consisting of images and masks for each instance of intended classes, and gets a model. For difficult tasks and when not using a pretrained model, the training may take even weeks; in case of a good pretrained model and powerful PC with GPU support, the training could get good results after 1 day and even less.
When the user has a model, it can be used for the detection. i.ann.maskrcnn.detect detects classes learned during the training and extracts from given images vectors corresponding to detected objects. Objects can be extracted either as areas or points.
i.ann.maskrcnn.* modules contain a lot of external Python dependencies. To run modules, it is necessary to have them installed. Modules use Python3, so please install Python3 versions.
After dependencies are fulfilled, modules can be installed in GRASS GIS >= 7.8 using the g.extension module:
g.extension extension=maskrcnn
Available at: i.ann.maskrcnn source code (history)
Latest change: Wed Mar 30 10:17:35 2022 in commit: 25b0a9981b66c443a1c1af1d5f26182c93268b45
Main index | Imagery index | Topics index | Keywords index | Graphical index | Full index
© 2003-2022 GRASS Development Team, GRASS GIS 8.0.3dev Reference Manual