IBVAP
Smarter border CCTV analytics system
The problem IBVAP solves
The problem
Border posts and check posts already have CCTV systems, but most of them only record and stream video. A human operator still has to monitor screens continuously, and important events such as intrusion, loitering, or suspicious movement can be missed. Smart analytics like detection, tracking, and virtual-fence alerts usually require specialised hardware or proprietary systems, which are expensive and difficult to deploy at remote posts. In addition, the alert data is often stored as ordinary files, which can be edited later without a clear way to prove what changed.
Who faces it
Control-room operators, post personnel, and commanders who rely on CCTV feeds for border security, threat detection, and quick response.
What IBVAP does
IBVAP is an offline software platform that turns existing CCTV infrastructure into an intelligent surveillance system running on a local machine.
Virtual fence: the operator clicks two points on the video; when a person or vehicle crosses the fence, an alert is raised with a timestamped snapshot and a one-line AI-written summary.
Detection and tracking: people and vehicles are detected using YOLOv8 and tracked using BoT-SORT.
Suspicious behaviour detection: loitering, fast movement, and close-proximity movement are flagged.
Night handling: low-light contrast enhancement and a night tag on event records.
Face detection: face detection is included, without facial recognition.
Number-plate reading prototype: OCR-based plate detection is implemented as a prototype script, using EasyOCR and validation based on Indian-style formats.
Live dashboard: alerts are displayed in a local web dashboard with counts, evidence snapshots, and a local AI assistant for questions about recent events.
Tamper-evident event log: each event is chained to the previous one using SHA-256 hashing, and a verification tool reports edits or tampering attempts.
Why it is different
IBVAP runs entirely on existing CCTV feeds without requiring new hardware. It stores evidence locally, keeps the pipeline offline, and makes it possible to verify whether the stored event log has been modified.
Current limits
Tested on recorded footage and live webcam input, not yet on a real IP camera deployment.
One video stream is processed at a time; multi-camera support is not yet implemented.
No formal dataset-based accuracy evaluation has been completed yet.
Number-plate reading is a standalone prototype and is not fully integrated into the web dashboard.
The log is tamper-evident, not tamper-proof: a person with full file access could still rewrite the entire log. Signed logging is a next step.
Challenges we ran into
- Tracker state leaked between videos. Running several clips in sequence caused track IDs to drift and previously tracked people to appear as new detections. Resetting tracker state between video runs fixed the issue and stabilised IDs during testing.
- Fence crossing on a flat 2D image. Using a bounding-box centre gave inconsistent readings as a person moved toward the camera. We switched to the feet point (bottom-centre of the box) and used a side-of-line check that only triggers when the object crosses the fence segment.
- One rider counted twice. A motorcycle rider sometimes generated both a vehicle alert and a person alert. We designed a rider suppression rule so a person close to a vehicle is considered the rider rather than a separate person event.
- Night mode flicker. Brightness near the threshold caused the night flag to toggle repeatedly. We added hysteresis so the detector remains in night mode until brightness rises enough to exit it.
5.OCR was reading screen text instead of plates. OCR was picking up on-screen labels; we cleaned the frame, restricted detection to vehicle regions, validated Indian plate formats, and required repeated reads before accepting a candidate plate. - A library update broke face detection. MediaPipe version 1.0.1 removed the API used in the original prototype, so we pinned the working version to 0.10.14.
- Log integrity was too weak at first. We originally hashed only the snapshot filename; now we hash the snapshot image itself and chain each event with SHA-256 so the verifier can identify the exact tampered entry.
- A model and local LLM on a 16 GB laptop were under heavy load. We added explicit error handling and limited assistant output length to keep the workflow stable.