Add EVAx10 video analytics launcher icon
This commit is contained in:
parent
2595e9bc39
commit
ba48885952
|
|
@ -1,9 +1,9 @@
|
|||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.it_screen.edgevision" android:versionCode="15" android:versionName="0.3.10">
|
||||
package="com.it_screen.edgevision" android:versionCode="16" android:versionName="0.3.11">
|
||||
<uses-sdk android:minSdkVersion="30" android:targetSdkVersion="34"/>
|
||||
<uses-permission android:name="android.permission.CAMERA"/>
|
||||
<uses-feature android:name="android.hardware.camera.any" android:required="true"/>
|
||||
<application android:label="EVAx10 Video analitics" android:allowBackup="false"
|
||||
<application android:label="EVAx10 Video analitics" android:allowBackup="false" android:icon="@mipmap/eva_launcher"
|
||||
android:hardwareAccelerated="true" android:theme="@android:style/Theme.Material.NoActionBar">
|
||||
<activity android:name=".MainActivity" android:exported="true" android:screenOrientation="landscape">
|
||||
<intent-filter><action android:name="android.intent.action.MAIN"/><category android:name="android.intent.category.LAUNCHER"/></intent-filter>
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
7
build.sh
7
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
|
||||
|
|
|
|||
Binary file not shown.
|
After Width: | Height: | Size: 75 KiB |
|
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@drawable/eva_launcher_art" />
|
||||
<foreground android:drawable="@android:color/transparent" />
|
||||
</adaptive-icon>
|
||||
Loading…
Reference in New Issue