Machine Learning and Object Detection in Spatial Analysis

Mark Altaweel

Updated:

  • Recent advancement in computer vision/artificial intelligence for spatial analysis
  • Picterra provides an automated tool to minimize the need for coding in object detection
  • The tool, and other efforts, signal that many industries and research efforts can benefit as deep learning tools become easier to use.

More Automated Spatial Deep Learning: The Picterra Tool

There is no question deep learning and artificial intelligence techniques have transformed remote sensing, computer vision, and spatial analysis. Until now, most efforts would have had to code their efforts, segment or semantically segment data, and then also layer and parallelize their code to run on high performance or cloud-based systems. While this may not be a major issue for those with software engineering backgrounds, it was a restriction for those interested in conducting spatial and remote sensing analysis to have these additional skills.

A new tool, called Picterra (https://picterra.ch/) which was discussed by Julien Rebetez in a recent Mapscaping podcast, enables a relatively easy to use interface that allows users to upload remote sensing images whereby users can identify and train an automated detector to find and detect objects of interest. This means that Web Map Service (WMS) and other raster data could be used directly for deep learning-based spatial analysis by those with minimal experience in artificial intelligence techniques. This has the potential to open up large and often open source datasets to the wider user community.[1]

How Picterra Works

The basic premise of Picterra is that you can upload raster data, you then identify and train a detector to find relevant objects of interest, identify objects for measuring accuracy to compare your results to, and then apply the created model to your dateset.

The tool also provides capabilities to integrate links to web services or data repositories that enable analysis for objects of interest in remote datasets. Common data include satellite or unmanned aerial vehicle (UAV) data. Data could be flat image files or multispectral data, allowing analysis to utilize the visible light and non-visible part of the electromagnetic spectrum. Data from WMS can be directly integrated for analysis. 

Researchers from the University of Santa Cruz, California, used Picterra to detect and count sea lions and seals living on Año Nuevo Island from imagery.  Source: Picterra.
Researchers from the University of Santa Cruz, California, used Picterra to detect and count sea lions and seals living on Año Nuevo Island from imagery. Source: Picterra.

The key method in the application is an object detection technique that uses deep learning neural networks to train on objects users simply click and identify using drawn polygons.



Free weekly newsletter

Fill out your e-mail address to receive our newsletter!
Email:  

By entering your email address you agree to receive our newsletter and agree with our privacy policy.
You may unsubscribe at any time.



Generally, users apply the application through an iterative process by selecting polygons of interest and training the tool until a desired level of accuracy and data sensitivity is achieved. The approach works well in identifying object and pixel data, enabling visual signatures and context data to be used together. Identifying complex shapes is one benefit from the deep learning technique, where multiple stages of analysis that detect edges and then more complex shapes and objects through a layered neural network is applied.

Additionally, Picterra has created a plugin interface with ArcGIS and QGIS to enable the two popular GIS platforms to be used in analysis. Although these plugins are still at a relatively early stage of development, it does mean Picterra can be used directly as part of GIS efforts.

Picterra offers both an ArcGIS and QGIS plugin for using its service within a GIS desktop environment.  Screenshot: Picterra.
Picterra offers both an ArcGIS and QGIS plugin for using its service within a GIS desktop environment. Screenshot: Picterra.

For desired shapes or objects that are relatively simple in shape or have minimal diversity, it could be possible to have small training sets, such as under 100 objects, to produce a very accurate model that can identify most objects of interest.

The overall output is a set of polygons that can be counted or quantified for area and volume, among other measures, and exported as common shapefiles, csv, or klm files. The advantage for users it also gives them the power of a cloud-based service to parallelize the application and process with minimal setup.

A nice feature of having the tool work on a cloud-based system is that once you submit your job, then you can shutoff your work computer, even for large data problems, and by the next day you can have the answer to your question. 

Benefits and the Future of Picterra

Perhaps the best benefit of Picterra is that many industries could benefit from this tool because users aren’t required to have an indepth knowledge of deep learning methods and access to cloud or high performance services.

Industries and fields such as manufacturing, urban planning, agriculture, forestry, and even real estate are among those that can benefit from a tool that can tell you, in one afternoon, answers to problems that could have taken days or even months.

The developments by Picterra are similar to what we have seen in recent years, which is efforts to make deep learning more accessible to the spatial community. Tools such as Orfeo, RoboSat, Solaris, and even ArcGIS’s Image Server are examples of open source and proprietary efforts that have also attempted to facilitate user access to computational capabilities for deep learning and computer vision spatial analysis.[2],[3] . Related: Platforms for Making Deep Learning Easier for GIS

Picterra’s tool has greatly improved this area by making the effort even more simple. The application of deep learning for geospatial analysis still requires subject-matter knowledge and some, potentially minimal coding to enable a successful project, but by lowering the entry point for analysts, it is clear that more tools will now seek to make the process even easier. As we see more tools coming out that incorporate deep learning as part of their methodology provided to users interested in remote sensing and spatial analysis, we can expect that these tools will try to make it even easier to conduct analysis that until recently has been restricted to relatively few experts and scientists. 

References

[1]    For more on Picterra and its capabilities in a recent Mapscaping podcast, see:  https://mapscaping.com/blogs/the-mapscaping-podcast/machine-learning-and-object-detection-for-the-rest-of-us

[2]    For more on these other tools mentioned, see:  https://www.orfeo-toolbox.org/ (Orfeo), https://github.com/mapbox/robosat (RoboSat), https://solaris.readthedocs.io/en/latest/ (Solaris).

[3]    For more information about ArcGIS Image Server, see:  https://enterprise.arcgis.com/en/image/latest/get-started/windows/what-is-arcgis-image-server-.htm

Related

Photo of author
About the author
Mark Altaweel
Mark Altaweel is a Reader in Near Eastern Archaeology at the Institute of Archaeology, University College London, having held previous appointments and joint appointments at the University of Chicago, University of Alaska, and Argonne National Laboratory. Mark has an undergraduate degree in Anthropology and Masters and PhD degrees from the University of Chicago’s Department of Near Eastern Languages and Civilizations.