diff --git a/AndroidManifest.xml b/AndroidManifest.xml index d2824b7..b49fcb5 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -1,9 +1,9 @@ + package="com.it_screen.edgevision" android:versionCode="16" android:versionName="0.3.11"> - diff --git a/README.md b/README.md index a6f4054..c2be6fd 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# EVAx10 Video analitics v0.3.10 +# EVAx10 Video analitics v0.3.11 A separate native Android experiment for consenting adult volunteers. Package `com.it_screen.edgevision`. The existing FaceAPI baseline is @@ -10,10 +10,10 @@ installable as `com.it_screen.audiencepoc`. `./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.3.10.apk`. +creation. The signed test build is `build/EVAx10-Video-analitics-0.3.11.apk`. ```text -adb install --no-incremental -r EVAx10-Video-analitics-0.3.10.apk +adb install --no-incremental -r EVAx10-Video-analitics-0.3.11.apk adb shell am start -W -n com.it_screen.edgevision/.MainActivity adb logcat -s EdgeVision EdgeVisionBench ``` @@ -96,7 +96,7 @@ or an Android low-memory signal is red. ### Controlled Face Re-ID PoC Build with `./build.sh --face-reid-poc`. Install -`build/EVAx10-Video-analitics-0.3.10-Face-ReID-PoC.apk` as the separate package +`build/EVAx10-Video-analitics-0.3.11-Face-ReID-PoC.apk` as the separate package `com.it_screen.edgevision.facereidpoc`. Start requires on-device confirmation that all adult test participants consent. Keep other people out of the camera view. The default build excludes the SFace weights and implementation. diff --git a/build.sh b/build.sh index 5904bae..1f827e4 100755 --- a/build.sh +++ b/build.sh @@ -20,7 +20,7 @@ if [[ ! -f build/ort.aar ]]; then fi python3 tools/check-production-assets.py manifest=AndroidManifest.xml -apk=build/EVAx10-Video-analitics-0.3.10.apk +apk=build/EVAx10-Video-analitics-0.3.11.apk if [[ $variant == poc ]]; then python3 tools/check-poc-assets.py manifest=build/AndroidManifest-face-reid-poc.xml @@ -28,7 +28,7 @@ if [[ $variant == poc ]]; then -e 's/android:name=".MainActivity"/android:name="com.it_screen.edgevision.MainActivity"/' \ -e 's/android:label="EVAx10 Video analitics"/android:label="EVAx10 Video analitics ยท Face Re-ID PoC"/' \ AndroidManifest.xml > "$manifest" - apk=build/EVAx10-Video-analitics-0.3.10-Face-ReID-PoC.apk + apk=build/EVAx10-Video-analitics-0.3.11-Face-ReID-PoC.apk fi rm -rf build/classes build/dex mkdir -p build/classes build/dex @@ -45,7 +45,8 @@ for class_file in build/classes/com/it_screen/edgevision/*.class; do classes+=("$(wslpath -w "$PWD/$class_file")") done "$jdk/bin/java.exe" -cp "$(wslpath -w "$tools/lib/d8.jar")" com.android.tools.r8.D8 --min-api 26 --lib "$jar" --output "$(wslpath -w "$PWD/build/dex")" "${classes[@]}" "$ort_jar" -"$tools/aapt2.exe" link -I "$jar" --manifest "$manifest" -o build/assets.apk +"$tools/aapt2.exe" compile --dir res -o build/resources.zip +"$tools/aapt2.exe" link -I "$jar" --manifest "$manifest" -o build/assets.apk -R build/resources.zip python3 - <<'PY' import os import shutil diff --git a/res/drawable-xxxhdpi/eva_launcher_art.png b/res/drawable-xxxhdpi/eva_launcher_art.png new file mode 100644 index 0000000..43b5edc Binary files /dev/null and b/res/drawable-xxxhdpi/eva_launcher_art.png differ diff --git a/res/mipmap-anydpi-v26/eva_launcher.xml b/res/mipmap-anydpi-v26/eva_launcher.xml new file mode 100644 index 0000000..3623aa4 --- /dev/null +++ b/res/mipmap-anydpi-v26/eva_launcher.xml @@ -0,0 +1,5 @@ + + + + +