# Plate recognition

## Purpose

Enable plate mode on the online recognition service and stream live plate hypotheses to the HUD/logs.

## Entry points

Glass home:

- `HomeActivity` → `GlassLprTrackActivity`

Sample Activity:

- `com.rokid.glass.GlassLprTrackActivity`

## Platform

- Glass

## Main file

- [GlassLprTrackActivity.kt](https://gitee.com/as_pixar/glass3sdkdemo/blob/main/glassdemo/app/src/main/java/com/rokid/glass/GlassLprTrackActivity.kt)

## Flow

1. Register `IGlassDetectionListener`.  
2. `startDetection(MODE_LPR)`.  
3. Observe `onLPRTrack()` for plate text, colour hints, confidence.

## FAQ

### Does it persist detections?

No—screen logs results for field validation; production should add capture + upload policies.

## Caveats

- Explicitly stop detection when leaving.  
- Expect to stitch capture, backend upload, and fleet analytics yourself for full products.
