DEVB TC(W) No. 3/2023, Annex A 5(12)(g)
AI cameras: the Safety Monitoring System using Artificial Intelligence
Clause 5(12)(g) of DEVB TC(W) No. 3/2023, Annex A, requires IP cameras with AI processors to detect unsafe scenarios on site in real time, such as people in danger zones, missing PPE and work at height without a harness. Accuracy must pass 80% in testing and average 90% after four weeks. Kodifly supplies, installs and tunes them.
Last updated
What the circular requires, and how sites use it
The contractor installs enough IP cameras, with AI processors, protective casings and sensor systems, to cover all areas of the site for real-time monitoring. A minimum camera number is set in the contract: at least 2 in the sample (clause 5(12)(g)(i)), and at least 15 in some contract specifications. Cameras have a resolution of at least 1080 pixels, at least 5x optical zoom and encrypted live streaming to the platform (clause 5(3)).
On a Hong Kong site, the cameras watch gates, plant routes, lifting areas and work at height. When the AI sees an unsafe scenario, a siren and red light go off at the spot, supervisors get an alert, and the platform keeps the clip. The Buildings Department and CIC name this safety monitoring system using artificial intelligence.
Unsafe scenarios in Annex A, clause 5(12)(g)(ix)
The clause reads including but not limited to. The AI must detect several events at the same time.
| Scenario | What the AI watches |
|---|---|
| Zone entry | Unauthorised access to restricted zones, danger zones, lifting zones and no-parking zones. Zones and alerts are configurable. |
| Workers near plant | Workers near site vehicles or plant designated by the contractor, and potential collisions between workers and vehicles or plant. |
| Driver and operator state | Fatigue, distraction and inattentive behaviour of site vehicle drivers and plant operators. |
| PPE | Workers and others without the required safety helmet and safety vest. |
| Lifting height | Lifting heights above the authorised limits. |
| Work at height | Work at height without a safety harness fixed to a proper anchorage point, or without a proper ladder platform or working platform. |
| Smoking | Smoking within the construction site. |
| Fire and smoke | Fire and abnormal smoke in specified areas. Used only when the smart fire and smoke detection system is not in the contract. |
The accuracy ladder
The circular sets tests and a long tuning period.
Before go-live
Test
At least 80% true positive for each unsafe scenario, on a dataset of at least 10,000 images, half with and half without the object or event (clause (iii)).
Within 2 weeks
Train
Two on-site technical courses of 4 hours each (clause (viii)).
From week 4
Hold
At least 90% average accuracy across all required scenarios, kept to completion (clause (vii)).
Weekly, then bi-weekly, then monthly
Improve
An AI improvement plan with re-training goes to the Project Manager or equivalent (clauses (iv) to (vi)).
Every 6 months
Drill
A drill tests whether the AI safety monitoring works (clause (xvi)).
What some contract specifications add
Compliance matrices for recent Hong Kong public works score these beside clause 5(12)(g). Kodifly's AI cameras meet each.
| Topic | Requirement |
|---|---|
| Camera count | At least 15 IP cameras, rather than the sample's minimum of 2. |
| Edge and cloud | On-site edge computing for real-time inference, and a cloud backend for multi-camera analytics, storage and models. |
| Siren | A strobe and a siren of at least 100 dB on an unsafe act, rather than the sample's 70 dB. |
| Camera build | At least 1080p, at least 5x optical zoom, IP66 and infrared night vision. |
| Open integration | Third-party IP cameras connected over ONVIF and RTSP. |
| Accuracy test | The live test on at least 10,000 images, half with and half without the target, and re-training from site false-alarm feedback. |
How Kodifly supplies, installs and runs it
Cameras, AI processors and the platform are one project. Alarms and records follow the clause.
Devices, software and installation together
IP cameras and AI processors with protective casings
Zones drawn on screen or by plastic barriers
Siren and red light within 1 second
Alerts to supervisors and the Safety Officer
Encrypted video from 1 minute before to 1 minute after
Response time record and summary report
Accuracy test, tuning and training
Edge and cloud processing, ONVIF and RTSP
From detection to the monthly report.
An AI camera alert arrives in 1 second with its clip. The safety officer acknowledges it, and it is logged to the monthly report.
AI cameras, answered
What does the circular require of AI safety monitoring?
IP cameras with AI processors covering all areas of the site, detecting unsafe scenarios in real time, with a siren and alerts, encrypted video and a response record (Annex A, clause 5(12)(g)).
What accuracy must the AI reach?
At least 80% true positive for each unsafe scenario in the live test, on a dataset of at least 10,000 images. From week 4, the average across all required scenarios must be at least 90% (clauses (iii) and (vii)).
How fast must an alarm sound?
The sound and light signals trigger within 1 second of detecting an unsafe scenario, with a siren of at least 70 dB, or a higher level agreed, and a flashing red light (clause (xii)). Some contract specifications set at least 100 dB.
How many AI cameras are needed?
Enough to cover all areas of the site, and not less than the minimum in the contract: 2 in the sample (clause (i)), and 15 in some contract specifications. Kodifly plans the layout from the site plan and the risk assessment.
How is video kept?
Recording of an unsafe scenario runs from 1 minute before to 1 minute after. The video is stored, live-streamed to the platform and encrypted (clauses (xiii) and (xiv)).
How are danger zones defined?
On the screen, by the user, or by the system recognising a series of plastic barriers placed on site (clause (xi)).
What must the cameras themselves meet?
A protective casing, resolution of at least 1080 pixels, at least 5x optical zoom, and continuous wireless encrypted live streaming to the platform (clause 5(3)).
Does the AI also detect fire and smoke?
Only where the contract has no separate smart fire and smoke detection system. Otherwise the AI cameras can be an integrated part of that system (clauses (ix) and 5(12)(k)(ii)).
Related guides
More Smart Site Safety guides
- 4S and DWSSHow the 4S centralised management platform joins the DWSS Smart Construction Management hub under DEVB TC(W) Nos. 3/2023 and 8/2025, and what flows into it.
- Centralised platformWhat DEVB TC(W) No. 3/2023 requires of the 4S centralised management platform (CMP): 30 users, 3 months of data, security, and the alerts every device sends it.
- 4S componentsThe twelve 4S components in DEVB TC(W) No. 3/2023 Annex A, what each must do, and the rules that apply to every device. Kodifly delivers the set complete.
- Confined spaceDEVB TC(W) No. 3/2023 clause 5(12)(h): worker counting, PPE checks and oxygen, gas and temperature monitoring for confined spaces under Cap. 59AE.
- Contract variantsHow 4S requirements vary between Hong Kong contract specifications: 12 or 9 components, 2 or 15 AI cameras, 70 or 100 dB sirens and extra data duties. Kodifly meets both.
- API and dataHow a 4S platform shares and protects data: API access, OpenAPI v3, single sign-on, SFTP data hub, DWSS links, Tier 3 hosting and data return at the end of the contract.
- 4S Labelling SchemeGetting a 4S label, step by step: the main contractor applies, CIC inspects the site, and the process takes about 3 months. One-year validity, renewal and confiscation.
- Mobile plant alertDEVB TC(W) No. 3/2023 clause 5(12)(e): 360 degree sensors on excavators and cranes, a 2 m danger zone, 100 dB siren, and the BD mandatory rules for private works.
- Permit-to-workWhat DEVB TC(W) No. 3/2023 clause 5(12)(c) requires of a digitised permit-to-work system: the high-risk activities, live mobile status and expiry alerts.
- Plant and tool trackingDEVB TC(W) No. 3/2023 clause 5(12)(b): a unique digital ID on every plant, MEWP, lifting gear and powered tool, with scan checks and overdue alerts.
- Smart lockDEVB TC(W) No. 3/2023 clause 5(12)(d): electronic locks and keys on electrical cabinets, floor openings, lift shafts and confined spaces, with siren and alerts.
- Tower crane alertDEVB TC(W) No. 3/2023 clause 5(12)(e): the tower crane loading and unloading danger zone of at least 7 m from the hook, 3 m clearance, 100 dB siren and alerts.
- VR safety trainingDEVB TC(W) No. 3/2023 clause 6: half-yearly VR safety training for workers in eight high-risk activities, accepted content, hardware and training records.
- Worker monitoringDEVB TC(W) No. 3/2023 clause 5(12)(f): wearables for every worker with location, standstill, temperature and heart rate alerts, and privacy limits.
Plan your AI camera cover
Send us the site layout and the unsafe scenarios in your contract. We will plan the cameras and the test.
