Detect Objects Using Deep Learning in QGIS
Published

To detect objects using deep learning in QGIS, install a plugin, because QGIS has no built-in version of the ArcGIS Pro tool. Deepness runs a ready ONNX model from its model zoo, GeoAI by Qiusheng Wu runs pretrained detectors and trains your own, and a cloud detector finds an object you type inside a zone you draw. As in ArcGIS, the result is a vector layer.
To keep it concrete, I took one place and one object: the parked cars of Sully-sur-Loire, a small town on the Loire, on France's free IGN orthophoto. Before any plugin, the first question is the one in the figure above. At 20 cm a car is 22 × 9 pixels. At 1.5 m it is three.
The short answer
| Your input | Method | What you get |
|---|---|---|
| Imagery close to a zoo model: planes, cars, ships, oil tanks, tree tops | Method 1: Deepness | Detections from an ONNX model, on your machine |
| Trees, birds or livestock, or your own labels to train on | Method 2: GeoAI | Boxes or polygons from pretrained or trained models, on your machine |
| Any object you can name, and no graphics card | Method 3: typed-object detection (ours, cloud) | One polygon per object, with a confidence score |
What the ArcGIS Pro tool does
Detect Objects Using Deep Learning, in the Image Analyst toolbox, "runs a trained deep learning model on an input raster to produce a feature class containing the objects it finds." The features can be bounding boxes, polygons around the objects, or points at their centres.
- Input: a raster, mosaic dataset, image service, folder of images or feature class with images attached.
- Model Definition: an Esri model definition file (
.emd), a JSON string, or a local deep learning model package (.dlpk). The framework it needs, such as PyTorch, must be installed in ArcGIS Pro's Python environment. - Arguments: read from the model, among them Padding, Confidence Threshold and Tile Size.
- Non Maximum Suppression: optional, drops duplicate detections and keeps the more confident one.
- Licence: Image Analyst at every level.
In Esri's workflow this is the third step, after labelling samples and training a model. The two local QGIS plugins have the same controls under other names:
| ArcGIS Pro | Deepness | GeoAI | Typed-object detection (ours) |
|---|---|---|---|
Model Definition (.emd, .dlpk) | An ONNX file, from the zoo or your own | A pretrained model, or one you train | None: you type the object |
| Tile Size | Set by the model, filled in by Load default parameters | Patch size | Precision |
| Confidence Threshold | Confidence | Score filter | Confidence, in Keep |
| Non Maximum Suppression | IoU threshold | IoU threshold | Objects crossing a tile seam merged into one |
| Processing extent | Visible part, entire layer or a polygon | The selected raster layer | The zone you draw |
| Output feature class | A vector layer, saved to a file by hand | GeoPackage, Shapefile or GeoJSON | GeoPackage with Confidence, Area, Perimeter |
Before you start: match the resolution
A pretrained detector works on imagery like the imagery it learned from. The Deepness authors say it plainly: their zoo models "are not universal tools and will perform well only on similar data as in the training datasets." The first number to check is not a model setting. It is the ground size of one pixel in your image.
Here is how many pixels a few objects cover at the resolutions you are likely to have. The sizes are typical examples, the pixel counts follow from them, and the last column is the resolution of the matching Deepness zoo model.
| Object, example size | 0.2 m (IGN, France) | 0.5 m | 1.5 m | 10 m (Sentinel-2) | Zoo model trained at |
|---|---|---|---|---|---|
| Car, 4.5 × 1.8 m | 22 × 9 px | 9 × 4 px | 3 × 1 px | Under 1 px | 10 cm |
| Tree crown, 6 m | 30 px across | 12 px | 4 px | Under 1 px | 10 cm |
| Boat, 10 m | 50 px long | 20 px | 7 px | 1 px | 30 cm |
| Airliner, 36 m wingspan | 180 px | 72 px | 24 px | 4 px | 70 cm |
| Oil tank, 50 m across | 250 px | 100 px | 33 px | 5 px | 150 cm |
The figure at the top shows what those numbers look like on the Sully street. At 0.5 m the cars are still small blocks with a shape. At 1.5 m they are coloured specks you would not swear to. At 10 m the whole 80 m square is 8 by 8 pixels. No setting brings back what the pixels never held, so if your imagery is satellite at 1.5 m, look for oil tanks and aircraft, not cars. The satellite resolution comparison lists what each source delivers and what it costs.
The worked example: parked cars in Sully-sur-Loire
- Imagery: the IGN orthophoto of the Loiret, 20 cm, flown on 28 May 2023, loaded as a WMS layer (
https://data.geopf.fr/wms-r/wms, layerORTHOIMAGERY.ORTHOPHOTOS). It is free under Etalab 2.0. - Area: the town centre, south of the château. Start with one street, like the 80 m square above, before you run a whole town.
- Object: cars, the one object type all three methods cover.
- Projected CRS: EPSG:2154 (Lambert-93), so areas come out in square metres.
What changes between the methods is where the model comes from and where it runs.
Method 1: Deepness and its model zoo
Deepness, from the PUT Vision team, runs ONNX models for segmentation, detection, regression and super resolution on any raster layer, an online basemap included. Its model zoo is a set of ready ONNX files, each with the input size and resolution it was trained on. On 22 October 2026 the detection models were:
| Model | Trained on | Resolution | Input tile | Ground covered by one tile |
|---|---|---|---|---|
| Aerial Cars Detection | ITCVD aerial images | 10 cm | 640 px | 64 m |
| Tree-Tops Detection | Public aerial datasets | 10 cm | 640 px | 64 m |
| Ship Detection | Public aerial datasets | 30 cm | 640 px | 192 m |
| Airbus Planes Detection | Airbus satellite images | 70 cm | 256 px | 179 m |
| Airbus Oil Storage Detection | Airbus satellite images | 150 cm | 512 px | 768 m |
| UAVVaste, litter | Drone images | 0.5 cm | 640 px | 3.2 m |

For Sully, the Aerial Cars model is the match by object, but it was trained on 10 cm images and the IGN orthophoto is 20 cm. Each car carries a quarter of the pixels the model learned from. Run it on one street first, as in the steps below, and check every detection on that street by eye before you trust a count for the town.
Install the plugin and a model
Install Deepness from
Plugins > Manage and Install Plugins. On the first start a dialog helps install the packages it needs, ONNX Runtime among them. Then download the zoo model closest to your object and your imagery, here Aerial Cars Detection.Choose the layer and the area
Open the Deepness panel and select the orthophoto layer. For the processed area, pick From Polygon and draw one polygon over a single street, or use the Visible Part of the map.
Load the model
Set Model type to Detector, point Model file path at the
.onnxfile, and click Load default parameters so the resolution and tile size match the training values.Check the thresholds and run
Set Confidence and the IoU threshold, the setting Esri calls Non Maximum Suppression, then click Run. Save the output layer to a file when you are happy with it.
Use it when: your object and resolution match a zoo model, or you already have a model you can export to ONNX. Imagery stays on your machine.
Skip it when: no zoo model fits your object or your resolution, and you have no way to train one.
Method 2: GeoAI by Qiusheng Wu
GeoAI brings the geoai Python library into QGIS as dockable panels, free and open source. Three panels detect objects:
- Tree Segmentation (DeepForest): pretrained models for tree crowns, birds, livestock, nests and dead trees, with patch size, overlap, IoU threshold and score filter.
- Moondream: a vision-language model whose Detect mode takes an object type such as "car" and returns bounding boxes.
- Instance Segmentation (Mask R-CNN): create training data from your labels, train, run inference. The same three steps as Esri's Export Training Data, Train Deep Learning Model and Detect Objects.
For the Sully cars, Moondream is the panel to try, because it takes the word "car" with no model to download by hand.
Install and set up
Install GeoAI from the plugin manager, open any GeoAI panel and click Install Dependencies, once. It builds its own Python environment in
~/.qgis_geoai/and detects an NVIDIA (CUDA) or Apple Silicon (MPS) GPU.Detect
Click Moondream in the GeoAI toolbar, load the default model, select the orthophoto layer, choose Detect, type
carand click Run.Keep the result
Add the detections to the map and save the vector layer to reuse it. If the boxes miss too many cars, label a few streets yourself and train in the Instance Segmentation panel.
Use it when: you want free local tools that also train on your own labels, and you have an NVIDIA card or Apple Silicon.
Skip it when: you cannot install Python packages on your machine, or you need results on a large area from a laptop without a capable GPU.
Method 3: Draw a zone and type the object
The third route needs no model file and no GPU. We make AI Segmentation, so this section is about our own tool. It uses its own detection models, tuned for aerial and satellite imagery, running on our servers in Europe, on Windows, macOS and Linux.
Draw a zone and name the object
Install it from the plugin manager, sign in, pick the orthophoto layer and start Automatic mode. Draw the zone over the street and type
car. The Library shows previews if you are unsure of the wording.Set the precision and detect
Raise Precision for small objects such as cars, then click Detect objects.
Filter and export
In Keep, the Confidence slider plays the role of Esri's Confidence Threshold and Size drops anything too small or too large to be a car. Export polygons writes a GeoPackage with Label, Class, Confidence, Area (m²) and Perimeter (m).


Filtering is most of the work, whatever the object. In our own published runs, an unfiltered building pass over central Paris returned 635 polygons, and a 50 m² floor with a 0.5 confidence floor kept 82 of them. Dropping 87% of the polygons cost 16% of the area, because almost everything removed was a skylight or a shed. For cars the logic is the same with a different size range: a car is about 8 m², so a range of roughly 5 to 15 m² removes most of what is not one.
Unlike a box detector, each object comes back as its outline, so areas are ready to use. Detection is free for 1.5 km² a month, then €39 a month for 50 km². Semi-Auto with the My computer option runs on your own machine at no cost, one object per click.
Use it when: you have no GPU, no model fits your object, or you want polygons rather than boxes.
Skip it when: a whole-zone run must not leave your machine, since Automatic sends the image tiles to our servers. Skip it too when you need a model trained on your own labels, which is GeoAI's job.
Coming from ArcGIS: what changes
- No model packages. In QGIS you pick an ONNX file (Deepness), a model the plugin downloads (GeoAI), or a typed word (ours). I found no source that QGIS reads
.dlpkfiles, so plan to retrain or export to ONNX if your models live in ArcGIS. - No Image Analyst licence. All three plugins install free from the plugin manager. Ours charges for cloud area past the free allowance.
- The extent is a polygon or the view. Limit a run with Deepness's From Polygon option, or with the zone you draw in ours.
- Resolution is on you. The Deepness zoo lists the resolution of every model. Check it against your raster's pixel size in
Layer Properties > Informationbefore the first run.
How I measured this
I downloaded the IGN orthophoto over WMS on 22 October 2026 for an 80 × 80 m window in Sully-sur-Loire and averaged it to 0.5, 1.5 and 10 m. That imitates a coarser sensor but is not a real satellite image, which also carries its own blur. The tile squares are the zoo's input size times its resolution, drawn to scale on the same orthophoto. Neither Deepness nor GeoAI was installed on the test machine, so this post shows no detection from them, and the car run in Method 3 is from our published guide on a different site.
What to remember
QGIS has no Detect Objects Using Deep Learning tool. Deepness runs ONNX models, GeoAI runs and trains models, and cloud detection takes a typed object.
Check the pixel size before the model. On IGN's free 20 cm orthophoto a car is 22 × 9 pixels, a quarter of what the 10 cm Deepness car model learned from. At 1.5 m it is three pixels.
Esri's Confidence Threshold and Non Maximum Suppression become Confidence and IoU threshold, and filtering by confidence and size is most of the work.
Questions people ask
Do I need a GPU to detect objects with deep learning in QGIS?
It depends on where the model runs. GeoAI recommends an NVIDIA card with CUDA or Apple Silicon, and Deepness's install instructions use the GPU build of ONNX Runtime. Cloud detection runs on the provider's servers, so any laptop works.
What resolution do I need to detect cars?
About 50 cm or finer. At 50 cm a car is 9 × 4 pixels, still a shape. At 1.5 m it is about 3 × 1 pixels and no longer reliable. The Deepness car model was trained on 10 cm aerial images, and France's free IGN orthophoto is 20 cm.
Which objects can be detected in QGIS?
Whatever a model has learned. The Deepness zoo covers planes, oil tanks, cars, tree tops, ships and litter. GeoAI's pretrained models cover tree crowns, birds, livestock, nests and dead trees, and it trains on any object you label. A typed-object detector takes anything you can name and see, such as buildings, solar panels or pools.
Can I train my own object detector in QGIS?
Yes, with GeoAI: its Instance Segmentation panel creates training tiles from your labels, trains a Mask R-CNN model and runs it inside QGIS. Deepness runs models trained elsewhere, and its documentation has a notebook that trains a YOLOv7 car detector and exports it to ONNX.
Semantic vs instance segmentation explains why some detectors return boxes and others outlines, detect building footprints in QGIS runs the full filtering on one city, and the QGIS AI hub sorts the plugins by task.
Do it in QGIS by asking for it
AI Agent carries out the task you describe, in your own QGIS project. Free, no card.
, install a plugin, because QGIS has no built-in version of the ArcGIS Pro tool. Deepness runs a ready ONNX model from its model zoo, GeoAI by Qiusheng Wu runs pretrained detectors and trains your own, and a cloud detector finds an object you type inside a zone you draw. As in ArcGIS, the result is a vector layer.

