Guides / In actionKnown strongholds, real output
TerraTrace on
known strongholds.
A detector is easy to show off on the places it learned from. This page does the opposite: it runs the detector TerraTrace uses in production on registered strongholds that were kept out of its training, and shows exactly what came back.
Every box, confidence and count below is the model's own output, not a summary of it.
- Updated
- 11 October 2026
- Reading time
- 8 min
On this page08
How the test was set up
Before the detector was trained, a group of 17 annotated stronghold areas was set aside as a test set. None of the five models trained in cross-validation saw them, in training or in validation; we checked this against the file lists each of the five models was trained and scored on. The earthworks in these areas were outlined by hand when the data set was built, so we know where each stronghold is and can tell a hit from a miss.
The model is the one used in production scans: a YOLO11s detector, the fold with the best validation score in the five-fold test (mAP50 0.754). It ran with the same code and settings as a scan: confidence threshold 0.01, five light directions (315°, 45°, 135°, 225°, 337.5°), 1024-pixel tiles with a small overlap, and boxes from different light directions merged when they overlap by at least half.
Four of the 17 areas are shown below, each one a stronghold in the register of archaeological monuments kept by the National Heritage Board of Poland (NID). The fifth example, Czermno, is not from the test set: it is a full production scan of GUGiK data, the same kind a customer receives.
Results at a glance
| Stronghold | Municipality, voivodeship | Box on the stronghold | Light directions | Rank in the area |
|---|---|---|---|---|
| Ostrów Lednicki | Łubowo, wielkopolskie | 0.83 | 5 of 5 | 1st of 7 boxes |
| Tum | Góra Świętej Małgorzaty, łódzkie | 0.90 | 5 of 5 | 1st of 4 |
| Międzyświeć | Skoczów, śląskie | 0.80 and 0.74 | 5 of 5 | 1st of 39 |
| Trzciel | Trzciel, lubuskie | 0.89 | 5 of 5 | 1st of 5 |
| Czermno (production scan) | Tyszowce, lubelskie | 0.89 and 0.82 | 5 of 5 | the four highest of 52 boxes |
Across the test areas, not only the four shown: in 15 of them the best box on the annotated stronghold reached a confidence of 0.74 or more, in 12 it was found under all five light directions, and in 13 it was the most confident box of the whole area. At Międzyświeć the top box also lies on the stronghold, just off the drawn outline.
The model also returned 10 boxes with confidence 0.5 or more that do not match a drawn outline, spread over 7 of the 17 areas; one of them is the Międzyświeć box just mentioned. The others have not been checked in the field. Some fall on banks, roads and slopes; some may be real features nobody outlined. Their locations are not published here, because a box is a candidate, not a site.
Ostrów Lednicki
The largest of the five islands on Lake Lednica (gm. Łubowo, powiat gnieźnieński, wielkopolskie), one of the main strongholds of the early Piast state. Within its earthwork survive remains of a pre-Romanesque palace and chapel complex with baptismal basins and a separate church, built under Mieszko I shortly before 966. The island has been a Monument of History since 1994 (Wikipedia) and is in the register of archaeological monuments (NID: Ostrów Lednicki, decision 18/Wlkp/C of 10.11.2006; NID register).
Fig. 1TerraTrace · GUGiK data

The model returned 7 boxes for the whole area. Apart from the two on the stronghold, none reached 0.06. Two boxes on one stronghold are common. Here the lights did not agree on the extent: one group drew a tight box, two lights a looser one, and boxes that overlap by less than half are kept apart. Elsewhere (Tum, Czermno) the same stronghold is seen by two overlapping tiles. The review screen can hide such near-duplicates.
Tum near Łęczyca
The stronghold south-west of the village of Tum (gm. Góra Świętej Małgorzaty, powiat łęczycki, łódzkie) stood on a river island in the Bzura marshes. It was founded as a tribal stronghold at the end of the 8th century, rebuilt several times with ramparts up to 8 m high and used as a castellany seat until the first half of the 14th century; it was the original Łęczyca (Wikipedia). Register: Tum, site 1, decisions of 12.10.1946 and 11.06.1953 (NID register).
Fig. 2TerraTrace · GUGiK data

The same stronghold under three of the five lights. The boxes barely move and the confidence stays between 0.82 and 0.90: a clear, closed rampart reads the same from any direction. That is not the case for every site, as Trzciel shows below.
Fig. 3 · AZ 315°01 / 03

Fig. 4 · AZ 045°02 / 03

Fig. 5 · AZ 135°03 / 03

Międzyświeć
An early medieval stronghold of the Golęszyce tribe at the place called Piekiełko, on a triangular spur about 60 m above the Bładnica valley (gm. Skoczów, powiat cieszyński, śląskie). It was occupied from the 7th to the end of the 9th century and was probably destroyed by the Great Moravian ruler Svatopluk; it was excavated in 1959–1963 (Wikipedia). Register: Międzyświeć, site 1, decisions of 04.11.1964 and 18.08.1981 (NID register).
Fig. 6TerraTrace · GUGiK data

This is the busiest of the five areas: 39 boxes in all, in hilly ground cut by a motorway and its embankments. Away from the stronghold the highest scored 0.37, the next 0.24, and the rest less. This is what a reviewer's list usually looks like: a few strong candidates at the top and a long tail of weak ones that a confidence filter removes.
Trzciel
A medieval stronghold on the right bank of the Obra at Trzciel (gm. Trzciel, powiat międzyrzecki, lubuskie): a cone-shaped mound on a sand dune, of the motte type, destroyed by fire (Wikipedia). Register: Trzciel, site 1, decision of 03.03.1966 and later ones (NID register).
Fig. 7TerraTrace · GUGiK data

The light matters here. From 45°, 337.5°, 135° and 225° the mound scored 0.85 to 0.89. From 315°, the single direction most hillshades use, it scored 0.45. A scan with one light would still have caught it, but lower in the list. This is why TerraTrace looks at every tile five times and keeps the best of them.
Czermno: a real production scan
The stronghold at Czermno (gm. Tyszowce, powiat tomaszowski, lubelskie) has been identified with Czerwień, the centre of the Cherven Towns, a hypothesis first put forward by Zorian Dołęga Chodakowski. Czerwień is first mentioned in 981 and was destroyed in the Mongol invasion of 1240 (Wikipedia). Register: Czermno, site 1, decisions of 20.10.1967, 11.02.1988 and 08.02.2008 (NID register). It is not in the training data; the nearest training area is 67 km away.
This one was not run on a test image. On 08.10.2026 TerraTrace scanned an area of about 2 × 2 km around it exactly as for a customer: it downloaded nine survey sheets from GUGiK, built the terrain model, lit it from five directions and ran the detector. Of the 52 boxes it returned, the four most confident sit on the stronghold: 0.89 and 0.89, 0.82 and 0.82, all under five of five lights. The ring falls across a tile boundary, so one tile saw its western part (0.89) and the next its eastern part (0.82); each part was seen twice by tiles overlapping from above and below. Use the dial to change the light.
What this shows, and what it does not
- On clear, well-preserved strongholds the detector is reliable: high confidence, seen in all five lights, usually at the top of the list.
- The output is a screening layer, not a verdict. A query of the monuments register comes first; TerraTrace adds to it by flagging relief that nobody has recorded.
- Every area also produces boxes that are not the known site. Some will be modern or natural, some may be worth a look; only a reviewer can say which.
- Five examples and 17 test areas are a demonstration, not a measurement of accuracy. The measured scores, on 217 areas, are in how TerraTrace finds earthworks.
To see how the relief behind these boxes is made and read, go to reading LiDAR for archaeology. To run the same scan over your own area, see the pilot and the pricing.
Rather not do it by hand?
TerraTrace fetches the open LiDAR for your area, builds the bare-earth model, lights it from five directions and ranks the earthwork candidates for your review.
Ask for a pilot
