62 lines
2.7 KiB
Markdown
62 lines
2.7 KiB
Markdown
# EVAx10 Video analitics v0.2.2
|
|
|
|
A separate native Android experiment for consenting adult volunteers.
|
|
Package `com.it_screen.edgevision`. The existing FaceAPI baseline is
|
|
preserved in the sibling FaceAPI-PoC repository and remains independently
|
|
installable as `com.it_screen.audiencepoc`.
|
|
|
|
## Build and start
|
|
|
|
`./build.sh` builds the ARM64, API 30+ APK with the Windows Android SDK 35
|
|
and JDK 17 via WSL. The script pins and verifies the upstream Maven AAR.
|
|
Model assets load locally and are verified before ONNX Runtime session
|
|
creation. The signed test build is `build/EVAx10-Video-analitics-0.2.2.apk`.
|
|
|
|
```text
|
|
adb install --no-incremental -r EVAx10-Video-analitics-0.2.2.apk
|
|
adb shell am start -W -n com.it_screen.edgevision/.MainActivity
|
|
adb logcat -s EdgeVision EdgeVisionBench
|
|
```
|
|
|
|
Press **Start**, grant camera access, or choose a local test image.
|
|
Stop releases the camera. Start reuses sessions if models and provider
|
|
settings match. Benchmarks appear as JSON and CSV under
|
|
`/sdcard/Android/data/com.it_screen.edgevision/files/benchmark/` after
|
|
**Export Benchmark**. Only aggregate measurements are exported.
|
|
|
|
## Model replacement and rollback
|
|
|
|
Model replacement in this build goes through the reviewed manifests under
|
|
`assets/models/` and the SHA-256 inventory in `license-lock.json`. See
|
|
[LICENSE_REPORT.md](LICENSE_REPORT.md) for the required permissions and
|
|
evidence. Local model import is disabled. Both bundled YuNet versions can
|
|
be selected on-device.
|
|
|
|
Select the prior version from the corresponding dropdown to roll back a
|
|
model, then press Start. Both original and fixed-320 YuNet are included
|
|
for this purpose. For historical bench comparison only, tap Stop and
|
|
launch the separate baseline.
|
|
|
|
```text
|
|
adb shell am start -W -n com.it_screen.audiencepoc/.MainActivity
|
|
```
|
|
|
|
See [architecture](ARCHITECTURE.md), [licensing](LICENSE_REPORT.md),
|
|
[hardware](HARDWARE_COMPATIBILITY.md) and [benchmarks](BENCHMARK_REPORT.md).
|
|
|
|
## Repeat visits and tracking log
|
|
|
|
Before Start, set **Окно повтора, мин** to 1, 2, 5, 10, 30 or 60 minutes.
|
|
In **Журнал трекинга**, a newly counted track shows “Новый визит · Total +1”.
|
|
A confidently matched returning track shows “Тот же человек · Total без изменений”.
|
|
An uncertain case shows “Проверяем повтор” until resolved. For a repeat test,
|
|
look squarely at the camera, leave the frame for more than three seconds,
|
|
then return within the window without pressing Stop. Returning after the
|
|
window counts a new visit. Clear Stats or Stop clears the in-memory embeddings.
|
|
On-device thresholds are experimental: pose and illumination can cause false
|
|
matches or missed repeats.
|
|
|
|
## Delivered device build
|
|
|
|
The previous bench APK is preserved as `build/EdgeVision-0.1.apk`.
|