Skip to content
LexDataLexData
PlatformIndustriesCustomers
DocsThe Field GuideBlogWhy models drift
AboutCareersSecurityContact
Log inStart now

// RETAIL

Parking Lot Occupancy Detection

Parking Lot Occupancy Detection. What it takes to run it.

Every bay checked against its own region from the lamp post camera already there, and a free-bay count sent to the sign and the manager.

Start with your footageBook a demo →All of retail →

// 01 · The question

“Are the far corner's bays actually empty, or is the sign just wrong again?”

// 02 · Why it is hard

The lamp post camera sees the near rows as clean rectangles and the far corner as a foreshortened sliver, and two cars nose to tail in that corner can read as one long vehicle. The polygon for every bay has to be drawn by hand against the camera's own angle, then checked against a full car park before anyone trusts the count it produces.

// 03 · What the labels have to be

Bounding box

Decided before the first frame

A vehicle is a box on every sampled frame, which is the easy call from a fixed camera high over the car park. Whether a bay is occupied is not the model's call at all: it is the overlap between that box and a polygon drawn once on the bay, which is where the real work sits.

This is the decision that is expensive to reverse. The geometry has to match what the answer contains, and finding out it does not means labelling the set a second time.

// 03a · What it finds

Every vehicle on the lamp post camera

boxed on each sampled frame, trained on this camera's own angle and light rather than a ground-level dataset

Whether a bay is occupied

read from the overlap between a vehicle's box and the bay's own polygon, drawn once on the camera's image and checked against a busy Saturday before it is trusted

The free-bay count by row

the near rows and the far corner counted separately, since the far corner is the one the entrance cannot see

A bay the system doubts

a car under snow, two cars nose to tail reading as one, or a headlight's reflection on wet tarmac, held rather than counted either way

// 03b · What it checks

  1. 01

    The vehicle's box against the bay's own polygon, not against the lane or a painted line the far corner's camera can barely see.

  2. 02

    The free-bay count against the manager's own count from the window on a Saturday, since the two should agree most weeks.

  3. 03

    The rule's schedule, cooldown and severity, approved before it goes live.

  4. 04

    The sign's count against its own history on a date that lines up with any work near the lamp post, since a nudged mount moves every bay at once without the vehicle count itself changing.

// 03c · What the store provides

  • The camera already on the lamp post or the building, fitted for security rather than for counting.
  • Frames from this car park's own rows and corners, not a ground-level or a stock dataset.
  • A person for one busy day, to check the bay polygons against a full car park before the count goes live.
  • Someone to read the free-bay count, whether that is the entrance sign, the manager's phone, or both.

// 04 · How we run it

Three parts of one loop, on this job.

LexAnnotate

Shopper Tracking

Annotate in-store video for customer detection, employee identification, door events, and product placement. Distinguish between customers, staff (by uniform), and children within each camera's region of interest.

LexInsight

Conversion Analytics

Turn raw foot traffic data into conversion intelligence. Link visual detections to store zones, time slots, and operational events. Surface patterns that static dashboards miss.

LexAlert

Store Alerts

Monitor detection accuracy across store locations. Detect when camera repositioning, seasonal displays, or lighting changes degrade model performance. Route the failures back for retraining.

How the loop fits together →

// 05 · What breaks it after launch

Covariate shift

A camera moved

→Covariate shift →

A nudged lamp post does not change what a vehicle looks like, so the model keeps finding every car. What moves is where the bay polygons sit against the frame, and the free-bay count goes wrong by the same amount on every row, in a way that still looks plausible on the sign.

It is not the only one that can get this use case, it is the one that usually gets it first. All ten conditions.

// 06 · In retail

Store Intelligence

Full write-up ↓Every case study →

The Challenge

The models lacked high-quality labeled data, activity alerts came back false, and unmonitored registers left customers waiting at checkout.

Our Execution

Labeled customer and staff positions. Validated alerts and traffic counts for accurate footfall tracking.

The Result

Faster AI training with accurate labeling. Smarter alerts for open doors and empty registers.

4M+

Annotations & validations

// 06a · Questions we get asked

Do we need a new camera over the car park?

No. The security camera already on the lamp post or the building is the one we use. What it has to see is every bay, including the far corner the entrance cannot, and whether it does is checked before anything is built.

How does it tell an occupied bay from a car just passing through?

By the bay's own polygon rather than the vehicle alone. A polygon is drawn once per bay on the camera's image, and a bay counts as occupied only once a vehicle's box covers enough of it, so a car driving down the lane never counts as parked.

What happens in snow or at night?

Those are the conditions the count doubts rather than guesses through. A bay with a snow covered car, or a headlight's reflection on wet tarmac, is held rather than scored, and the frames from the first hard week come back to a person and go into the version that watches the car park afterward.

What does the manager actually receive?

A free-bay count by row, sent to the entrance sign and to the manager on a rule the store wrote: how few bays before it is worth a message, with a cooldown so a quiet afternoon does not page anyone twice. The frame behind the count is what settles a disagreement with the Saturday window count.

Read next

Parking lot occupancy detection, the full walk-through →Traffic counting and conversion: the same door, counted the way the store already asks →What a nudged camera does to every bay at once →
Start with your footageBook a demo →

// 07 · Also in retail

Traffic Counting & Conversion→Checkout Queue Monitoring→Shelf & Planogram Compliance→Inventory & Stock-Level Monitoring→Store Safety & Validation→Employee Activity Monitoring→Checkout Product Verification→All forty-one→
Traffic Counting & ConversionCheckout Queue MonitoringShelf & Planogram ComplianceInventory & Stock-Level MonitoringStore Safety & ValidationEmployee Activity MonitoringCheckout Product VerificationAll forty-one →

Send us a week of this footage. We’ll show you what comes back.

Start with your footageBook a demo →
LexData
LexData

Product

  • Platform
  • Industries
  • Use cases

Resources

  • Docs
  • The Field Guide
  • Blog
  • Why models drift

Industries

  • Energy & utilities
  • Oil & gas
  • Agriculture
  • Manufacturing
  • Insurance
  • Retail
  • Robotics

Company

  • About
  • Customers
  • Careers
  • Contact

Trust

  • Security
  • Privacy
  • Terms

Stay updated

What we learn running vision models in production.

See everything.
Miss nothing.

Stay updated

What we learn running vision models in production.

Terms of use & Privacy policy

© 2026 LexData Labs · All rights reserved