Chasing India's Highway Ghost Cars with AI
At one toll plaza along India’s NH-48, around one in ten vehicles now go unidentified, according to The Indian Express. Drivers are obscuring their number plates with tape, concealing their FASTag stickers, or even using fake plates, leaving a system that was designed to charge tolls quickly, with no one to bill.
Check out The Indian Express video report titled India’s Highway Ghost Cars: How Vehicles Are Evading The New FASTag Toll System: India’s Highway Ghost Cars: How Vehicles Are Evading The New FASTag Toll System | Express Special
A potential solution has been proposed: match the vehicle’s make, model, and colour with payments recorded at a nearby boom barrier. Before proceeding with any implementation, I wanted to explore two questions: How often would this method misidentify a vehicle? And could AI technology enhance the accuracy by analyzing the camera frames?
To investigate, I developed a compact prototype and conducted tests. In this post, I will explain how it works, the role of the AI, my initial findings, and the limitations encountered. The entire process utilises simulated data, including fictional corridors, imaginary vehicle registrations, and synthetic camera frames generated by code. The AI operates through Microsoft Foundry, using a vision model to interpret the frames, along with a prompt agent to communicate the results clearly.
India’s barrier-less toll system is known as multi-lane free flow (MLFF). A gantry detects the FASTag via radio signal and captures the number plate image using a camera. The toll amount is only deducted if both pieces of information match. As reported by The Indian Express:
- At Shahjahanpur, approximately 2.6 lakh (or 260,000) out of 24 lakh toll crossings since August 1 have been โunidentified.โ
- At Manoharpura, around 99,500 of about 31 lakh crossings from July 1 to October 21 went unidentified.
- Common evasion tactics include covering the number plate with tape or mud, hiding the FASTag, or using a counterfeit plate.
- Currently, MLFF is operating at seven plazas, with plans to extend it to all four-lane national highways by March 2029.
If a vehicle remains unidentified, no notice can be sent. For freight transport, this also means it’s excluded from the FASTag trail, which is essential for e-way bill verification.
One method described in the report is a โ10-minute windowโ approach:
- The gantry camera captures the make, model, and colour of the โghostโ vehicle.
- Vehicles matching this description in the system are shortlisted.
- The system then checks if any of those registered vehicles made a FASTag payment at a nearby boom barrier, within a time frame influenced by the travel distance.
This report also raises an important point: just knowing the make and colour of a vehicle isn’t enough for precise identification. For example, two white Hyundai Cretas could look identical. Itโs the nuancesโa dent, a roof rack, or a stickerโthat distinguish them. That’s where AI can make a real difference in identification accuracy.
A local prototype combines this into a single image and operates through two services: a pipeline job and a web app.
| Component | Function |
|---|---|
| Simulator | Simulates four days of traffic along a fictional corridor with two boom barrier plazas, three MLFF gantries, and around 27,000 daily crossings at the busiest gantry, with 3% being โghosts.โ It includes fictional vehicle makes, models, and registrations. |
| Synthetic camera | Creates a simulated rear-view frame for every vehicle crossing, detailing the body, colour, tail lights, distinctive marks, plate condition, glare, and background noise. It mimics real camera imperfections by sometimes missing small details. |
| Matching engine | Generates a line-up of all ghost vehicles based on registered vehicles that share the same traits, seen in the expected direction and time, without revealing true identities. |
| AI vision match | A vision model from Microsoft Foundry analyses both the ghost frame and candidate frames. A set rule then compares the results and identifies a vehicle only when there is a definitive agreement. |
| AI explanation | A prompt agent from Foundry offers a simple explanation of the results for the reviewer. |
| Evaluation | This element holds the truth. It measures the performance of the engine and the AI against known results. |
| Reviewer screens | Displays the case file, frames, AI findings, evidence pack, and options to Confirm / Reject / or Request more information, all tracked in an audit log. |
Letโs walk through a simulated case step by step. Suppose a white Hyundai Verna crosses gantry M1 at 10:32 with a damaged plate. Within the time frame, four white Hyundai Vernas are identified at a nearby boom barrier.
Step 1. Applying rules narrows the options (no AI involved). The engine keeps only those registered vehicles that match the make, model, colour, and body type, and that were traveling in the same direction around the estimated time. This leaves us with four candidates, but description and time alone canโt help distinguish between them.
Step 2. The AI analyses each frame. The app submits the ghost frame and each candidate frame (labelled in the corners) to a vision model at Microsoft Foundry (gpt-5.4-mini) in a single call. The model generates a unique fingerprint for each frame as a JSON response. It captures body type, colour, plate condition, and any observable marks from a predefined list (for instance, sticker colour and positioning, type of dent, roof rack, etc.). The response must conform to a specific JSON structure; if any issues arise, the system marks it as โunavailableโ and the engine’s current result remains unchanged.
| Ghost Frame (GHOST) | AI Identified Candidate (CAND 2) |
|---|---|
Step 3. The comparison process takes place. For each candidate:
- If a mark is found on both frames, it supports the notion of a match;
- A differing mark (e.g. a green stripe on one frame and yellow on another) indicates a conflict;
- A significant feature (like a roof rack) present on only one frame is also a conflict unless glare obscures it in the ghost frame;
- A small feature (such as a sticker) present on one frame only carries a lesser penalty since cameras can miss minor details;
- Any mark that appears on all frames does not help in distinguishing the candidates, so it is disregarded.
The AI will only name a vehicle when one candidate scores at least 0.6 and leads the next highest score by at least 0.25. If these conditions arenโt met, the case will either be flagged for human review as โseveral candidatesโ or remain unresolved.
In this instance, the AI identified a green stripe and another mark on the left of the ghost frame. Candidate 2 featured both attributes, while Candidate 3 had a different colour stripe, and Candidates 1 and 4 lacked a stripe altogether. Hence, the AI correctly identified Candidate 2, which aligned with the engineโs initial decisionโverified by the simulationโs truth. However, in a subsequent test of the same scenario, the AI processed the frames with less clarity and flagged it for human review due to multiple candidates.
Step 4. A human makes the final call. The reviewer sees the frames, AI analyses for each, the engineโs decision, and the AIโs input, along with an easy-to-understand explanation from the Foundry prompt agent. They then have options to confirm, reject or request further evidence. Every decision gets recorded in an audit log.
Initially, my version instructed the model to evaluate all frames simultaneously, ranking each candidate in a single sweep. However, during initial tests, it only correctly identified the true vehicle three times out of six potential answers and misidentified one vehicle entirely.
Upon revisiting the approach, I asked the same model to focus solely on listing the attributes visible in each labelled frame. This led to a separation of tasks: the AI handles perception, while a simple rule conducts the comparison. This adjustment improved accuracy and allowed for clear auditing of the results. Reviewers can see that the AI noted a โgreen stripeโ on the ghost frame while a โyellow stripeโ was identified on Candidate 3, thus ensuring transparency in the review process.
Three additional insights came from this endeavour:
- The model misidentified red tail lights as red stickers. By educating it on what tail lights should appear like, prohibiting stickers in red, and ignoring any mark consistently read across all frames, I resolved this issue.
- Identical cases might yield alternating results in subsequent runs, adding further weight to the necessity for human verification in the AI’s recommendations.
- The evaluation phase helped identify a bug in my code: in scenarios with over eight candidates, the line-up was sorted alphabetically, which could potentially exclude the true vehicle. Itโs now configured to retain the eight closest in time.
Performance of the engine (deterministic rule), analysed over 7,039 simulated ghost crossings:
| Method | Vehicles Named | Wrong Identifications | Correct Names | Resolved Ghosts |
|---|---|---|---|---|
| Reported method: 10-minute window, same make, model and colour, nearest boom-barrier plaza | 2,569 | 1,034 | 59.8% | 32.0% |
| Comprehensive method: includes an image-similarity check, examines both plazas, and a 60-minute window | 4,292 | 38 | 99.11% | 74.3% |
| Comprehensive method assuming pessimistic image quality | 477 | 30 | 93.71% | 7.8% |
Here, “Named” indicates a single candidate was successfully identified. “Reachable” means the vehicle was later confirmed at a boom barrier plaza. In this simulation, using just description and time resulted in roughly 40% misidentifications. The image-similarity score by the engine is an estimated figure, not derived from direct measurements.
The AI vision match on synthetic frames:
I tested the AI’s capabilities with 30 ghost vehicles that each had multiple potential matches (one model call per ghost; docs/results/ai-vision-v0.md):
| ย | Vehicles Named | Correct Identifications | Multiple Candidates | Unresolved Cases |
|---|---|---|---|---|
| AI vision match | 8 | 6 of 8 | 18 | 4 |
| Engine performance on the same 30 cases | 18 | 18 of 18 | 1 | 11 |
What these results indicate, and what they don’t:
- The AI was cautious. It sent 18 out of the 30 ghosts for human review as โseveral candidatesโ instead of making a guess. This design feature prioritises safety.
- Both incorrect identifications arose from the same cause: The true vehicle wasn’t present in the long-list of candidates, while a similar-looking alternative shared the same single identifying mark. For instance, one ghost showed a roof rack, but another grey Hyundai i20 in the line-up had the same feature. Both frames were processed correctly by the AI, yet the fulfilling condition lacked logic to account for the rightful vehicle’s absence.
- The AI identified one vehicle missed by the engine. In a single test, the engine couldnโt resolve the ghost, but the AI successfully named the correct vehicle.
- Comparing the engine’s results to the AI’s isn’t a fair comparison. The engine’s image-similarity scoring is based on expected results, while the AI directly processes images. The engine row illustrates the methodology’s potential if image quality meets the assumptions, while the AI row represents a tangible measurement of an AI interpreting images from basic synthetic data.
The AI managed to identify 6 out of 8 correctly, but this is still below the 99% threshold I aimed for. Thus far, it proves useful as a supplemental opinion for a human reviewer and not as a standalone solution.
1. The vehicle you seek is often missing. A mere 35.4% of ghost vehicles had their corresponding vehicle within the 10-minute window at the nearest boom-barrier plaza. Consequently, if the right vehicle isnโt available, a lone look-alike is often incorrectly identified. Hence, a reliable matcher should clearly indicate when โnone of theseโ applies.
2. Look-alikes pose a vision challenge. Each candidate in a potential match already meets the same make, model, and colour criteria. Therefore, it is the additional marks that distinguish them, highlighting the necessity for a proficient AI to examine the frames closely.
3. The AI excels at reading; a decision-rule is superior. Separating perception from comparison improved accuracy and rendered every result loggable and reviewable.
4. A shared feature is weak evidence when the actual vehicle is absent. The instances of incorrect AI identifications stemmed from mere look-alikes bearing the same single mark. The next testing phase must focus on requiring two distinct marks or a second observation.
5. Real-world image quality ultimately influences outcomes. The synthetic frames used here were much clearer compared to what cameras capture during adverse weather conditions or at night. The subsequent step will involve measuring real footage, subject to necessary permissions, rather than just adding new features.
Both the engine and AI provide three possible outcomes: one vehicle named for review, multiple likely vehicles, or unresolved results. The AI’s findings are displayed alongside the engine’s decision, never replacing it. The model only receives pixel data and pipeline information, never the simulated truths. Reviewers will either confirm or reject suggestions, which are also documented.
The simulator accounts for truthful read failures like glare. The evidence summary indicates whether the anticipated result is just a standard toll notice.
- All data regarding traffic, registration records, and camera faults are generated through simulation. The corridor itself is fictional.
- The camera frames consist of simple synthetic illustrations, not actual photographs. Results based on these frames confirm the workflow and decision-making protocol function correctly, but do not guarantee accuracy in real-world conditions.
- The AI sample comprised 30 ghost vehicles, and model results varied across different runs. The thresholds for decisions were established prior to testing and were not adjusted during these runs.
- Each simulated vehicle makes a single journey. Behaviour such as repeat offenders or cloned plates has yet to be modelled.
- I do not have access to government data and am not depicting any practical system that is actively deployed.
The prototype operates on a personal computer. The offline demonstration does not require a cloud account; however, the AI functionalities require a Foundry project and az login (keyless access through Microsoft Entra ID).
podman compose up --build # or: docker compose up --build. Open http://localhost:8080
# Activate AI mode on the host, after az login:
# set MODEL_BASE_URL, MODEL_NAME, and FOUNDRY_PROJECT_ENDPOINT, and then
python -m services.pipeline && python -m services.api
python -m services.eval.vision_ai --n 30 # evaluate the AI against simulated truth
- Code: https://github.com/vrajakishore/ghosttrace
- Read the figures: the generated reports in
docs/results/detail each assumption related to the results. - Challenge the system: Modify
config/corridor.json, or enhance the synthetic camera’s complexity. If you possess actual data for camera error rates on tolled corridors, I would be grateful to hear which assumptions might need reevaluation.
Source of all factual data: The Indian Express, Express Special video “India’s Highway Ghost Cars: How Vehicles Are Evading The New FASTag Toll System” (India’s Highway Ghost Cars: How Vehicles Are Evading The New FASTag Toll System | Express Special), along with reports by Dheeraj Mishra, dated November 10 and 21, 2026. This represents an independent technical exploration through simulated data and does not reflect any official Government of India stance.
Share this content:
Discover more from Qureshi
Subscribe to get the latest posts sent to your email.