42 lines
2.2 KiB
Markdown
42 lines
2.2 KiB
Markdown
# Physical Android bench
|
||
|
||
Paired hardware is the same RK3566 tablet used by FaceAPI. Actual firmware
|
||
is Android 13 (API 33), model RK3566, product rk3566_t, platform rk356x,
|
||
ABI arm64-v8a. Android 11 (API 30) is the build minimum and was not available
|
||
for a separate physical run. There is approximately 1.9 GiB usable RAM
|
||
and 5.0 GiB free on /data at diagnosis. Screen 1280×800, Mali-G52.
|
||
|
||
Camera2 device 0 is BACK, sensor orientation 180°, exposed by the external
|
||
camera HAL. The device reports 640×480, 1280×720 and 1600×1200 among its YUV
|
||
modes. No 1920×1080 sensor mode was advertised.
|
||
|
||
- Rockchip (vendor) RKNPU driver reported **0.9.2**. Vendor library
|
||
`/vendor/lib64/librknnrt.so` identifies RKNN Runtime **1.5.2**.
|
||
- Vendor HIDL advertises `rockchip.hardware.neuralnetworks@1.0`. Android's
|
||
public NNAPI NDK enumerated exactly one device, `nnapi-reference`, type
|
||
CPU. The vendor RKNN HAL is not evidence of NNAPI NPU availability.
|
||
- The APK runs CPU kernels and XNNPACK on ARM CPU. ORT profile with fixed
|
||
320 detector showed 57 XNNPACK and 23 CPU nodes. RKNN was inspected only.
|
||
- No root, firmware changes or replacement of system libraries were used.
|
||
|
||
The dashboard shows temperature N/A when no public per-app CPU temperature
|
||
signal is available. ADB can read the `soc-thermal` zone for bench sampling.
|
||
The optional, read-only probe source is `tools/nnapi-devices.c`.
|
||
|
||
The camera is exclusive unless the OEM supports concurrent clients on that
|
||
physical device. The two packages can be installed together.
|
||
|
||
The installed Android package requests CAMERA only. It acquired the camera,
|
||
loaded both local sessions and ran inference with the package lacking
|
||
INTERNET permission. ADB remained connected over Wi-Fi.
|
||
|
||
The stock FaceAPI baseline and Edge Vision remain installed under different
|
||
packages. A separate split-screen smoke test confirmed Edge Vision camera
|
||
and inference activity alongside the visible EVA x10 player. See the
|
||
benchmark report for scope and measured rate.
|
||
|
||
The model-registry smoke test imported a pinned YuNet copy as a new
|
||
version, validated it in ONNX Runtime, selected it, and ran live
|
||
inference. The bundled fixed320 version was then selected and verified
|
||
again on the live camera.
|