Video analytics for petrol stations: what cameras can actually monitor
Author: DuoVision team
For: owners and managers of petrol station chains, heads of security and health and safety, operators of single stations
Summary
- At a petrol station a camera works best with events that are visible from a distance: a tanker in the delivery zone, people and cars around it, queue length, vehicles on the site after closing.
- Each event arrives as a card with a frame, camera, rule and time. Your staff member makes the decision, and a confirmed event goes into the log.
- For driving off without paying, the camera gives a frame and a time, and the till shows whether the fuel was paid for. That is why we build this rule only with a check against the POS.
- Smoking and open flame at the pump need training on your frames. We confirm the result in shadow mode first.
- A licence plate together with a frame and a time can be personal data. Before launch you need a legal basis for processing, a notice about video surveillance and a defined retention period.
For: owners and managers of petrol station chains, heads of security and health and safety, operators of single stations
What a camera can give a petrol station
Most petrol stations already have cameras over the pumps, at the till and at the entrance. The recordings are reviewed after an incident, when someone already has to be found. Video analytics reads the same stream in real time and puts only the moments that match a defined rule into a separate list. Each such moment becomes a card: a frame, a camera number, the rule and the time. An operator or shift supervisor looks at the card and decides whether it is a violation.
The system recognises people, vehicles, licence plates and zones. We set up everything in the table below for the particular station: we define the zones, hours and thresholds, and then check the rules in shadow mode on your cameras before promising anything. Smoking and flame are a separate case: they need training on your frames.
| Task | What the camera sees | Status |
|---|---|---|
| Fuel delivery | A tanker in the delivery zone, people and cars around it, duration | Set up per site |
| Queues | Number of cars at the pumps and people at the till | Set up per site |
| Driving off without paying | A car arriving at and leaving a pump, a frame of the car; payment is shown by the till | Set up per site, with POS integration |
| Licence plates | The plate at the entrance or at a pump | Set up per site, after legal preparation |
| Site at night | People and vehicles near the tanks after closing | Set up per site |
| Smoking, open flame | A small target, depends on the camera angle | Needs training on your frames, result confirmed in shadow mode |
The fuel delivery zone
Pumping fuel from a tanker into a storage tank is one of the riskiest operations at a station. The fire safety rules in Ukraine (Chapter 10 of Section VI) require the delivery to be supervised by a station employee and the tanker driver, and they forbid dispensing fuel through pumps connected to the tank that is being filled at that moment.
A camera that looks at the delivery manholes from the side and sees the space around the tanker can give several useful events:
- a tanker entered the delivery zone and left it, with the time of both moments, which gives the delivery duration for the log;
- no person in the delivery zone during the operation, although the rules require an employee to be present;
- an unauthorised person enters the delivery zone or a passenger car drives into it;
- a passenger car stands at a pump that you have marked as connected to the tank currently being filled.
The last rule requires you to tell us in advance which pumps are linked to which tank. A camera does not see pipework or the content of the operation, so you define the link between pumps and tanks.
The camera angle matters more than the number of cameras. A camera has to see the whole delivery zone without the cab or tank blocking it, and a person in the frame must not be too small: from a distant camera on a wide shot they are easy to miss.
Smoking and open flame at the pump
For a camera this is the hardest task at a petrol station, and here we are most careful with promises. A cigarette in a hand on a wide shot takes up a few pixels, a lighter flame lasts a second, and headlight glare, a phone near the face or breath vapour in winter give a similar picture. That is why this task has research status with us: it needs training on frames from your particular station, and we confirm the result in shadow mode.
A realistic path looks like this. We place a camera closer to the pump islands so that a person fills more of the frame. We collect frames from your station at different times of day and tune the rule on them, and then for several weeks we watch what the rule finds and how much of it your people confirm. If the cards are mostly false, we do not move the rule into live operation.
The organisational part is also worth remembering. Under clause 1.19 of Section III of the Fire Safety Rules, the head of the site designates smoking areas by their own document and marks them with a sign. When such areas are defined, the camera has an easier job: anything that looks like smoking outside them becomes a reason for a card.
Queues at the pumps and the till
Queues are simpler to count because cars and people in the frame are large. At the entrance to the pump islands we define a waiting zone and count how many cars stand in it. At the till we count people in the queue zone. When the count stays above a threshold for longer than a set time, the shift supervisor gets a notification, for example with a suggestion to open a second till.
After a few weeks a report builds up by hour and day of the week. It shows when the queue regularly grows and helps with shift planning. How to count queues without face recognition is covered in our guide on checkout queues.
Driving off without paying: camera together with the till
The camera sees that a car pulled up to a pump, stood and drove away. It does not see whether the driver paid. That fact exists only in the till system and in the pump control system. So we build the "driving off without paying" rule as a check: for each departure from a pump the system looks for a matching fuel dispense and receipt. If there is a dispense but no payment, the operator receives a card with a frame of the car, the pump number and the time.
Without such integration the camera gives only a list of arrivals and departures, and most of them will be ordinary purchases. We build the integration with your POS for the task, so at the site survey we first find out what data your till system provides and how fast.
A card is not a finding of guilt. The driver may have paid with a loyalty card, through an app or at another till. Your staff member makes the decision after checking.
Licence plates: what to settle before launch
Plate recognition at the entrance or at a pump is useful for checking against the till and for searching after an incident. But a plate together with a frame, a time and a place can make it possible to identify a specific person. The Law of Ukraine "On Personal Data Protection" No. 2297-VI, in Article 2, defines personal data as information about a person who is identified or can be specifically identified. So before such a rule is launched you need to:
- define the basis for processing from those listed in Article 11 of the Law;
- inform people about video surveillance before they enter the frame: a sign at the entrance and information about the data controller and the purpose, as Article 12 requires;
- record the retention period in the video surveillance policy; under Article 6, data is kept no longer than needed for the lawful purpose;
- limit which employees see plates and the log.
For more on documents and roles see our guide on video analytics and personal data.
The site at night
After the station closes, or at night when one cashier is on duty, the most valuable thing is to see people and vehicles where they should not be: near the tanks, the delivery manholes, in the back yard or by the fence. For these zones we define the hours when any person in the frame sends a card to security or the person on duty. The rule shows that a person is in the zone and gives a frame; security finds out who it is.
At night a lot depends on lighting and the infrared mode of the cameras. Headlights on the road, animals and tree shadows give false triggers, so for the first weeks the rule runs in shadow mode and we choose zones and thresholds together with you. How we build perimeter protection in general is described on the page on site security.
Where to start at your petrol station
- Check which cameras are already installed and whether any of them sees the delivery zone completely, without the tank blocking the view.
- Choose two or three rules with the clearest benefit, for example fuel delivery and queues.
- Ask your till system supplier what data it provides and how fast: without this the driving-off rule cannot be built.
- If you need licence plates, prepare the documents first: the basis for processing, the video surveillance notice and the retention period.
- Ask for shadow mode: cards accumulate, your people review them, and only rules with an acceptable result on your events go into daily work, reported with the number of events and the period.
We can connect to the station's existing cameras with processing on a server at the site, without sending video out, and start in shadow mode.
Separate scenarios for fuel stations are collected on the page for petrol stations, and staff safety requirements are described in the health and safety section. If you want to discuss your station, write to us through the contacts page.
Where to apply this
- Site security and vehicles
- Occupational safety
- Gas stations
- Hard hat detection by camera: construction, warehouse and production. What it sees and where the limits are
- Work clothing control in food production: when work clothes leave the workshop
- Video analytics for woodworking and furniture manufacturing: PPE at machines, aisles, pallet jacks