|
| 1 | +# Run On Android(AArch64) |
| 2 | +## Tested Device |
| 3 | +|Chipset|Memory Size|GPU Model|Device Model|System|Issue| |
| 4 | +|:-----:|:---------:|:-------:|:----------:|:----:|:---:| |
| 5 | +|Rockchip RK3399|4GB|Mali-T760 MP4|H96 MAX|Android 7.1.2|| |
| 6 | +|Rockchip RK3399|4GB|Mali-T760 MP4|Rockpro64|Android 7.1.2|| |
| 7 | +|Samsung Exynos 7420|3GB|Mali-T760 MP8|VR on avl7420|Android 6.0.1|| |
| 8 | +|Samsung Exynos 7420|3GB|Mali-T760 MP8|SM-G920A|Android 7.0|| |
| 9 | +|MediaTek MT6797|3GB|Mali-T880 MP4|Chuwi Hi9 Pro Tablet|Android 8.0.0|[TfLite Object Detection](https://github.com/SharpAI/DeepCamera/issues/19)| |
| 10 | +|HiSilicon Kirin 970|4GB|Mali-G72 MP12 + NPU|Huawei Honor 10|Android 8.1.2|[TfLite Object Detection](https://github.com/SharpAI/DeepCamera/issues/19)| |
| 11 | + |
| 12 | +## Get Launcher_Termux source code |
| 13 | +``` |
| 14 | +git clone https://github.com/SharpAI/Launcher_Termux |
| 15 | +``` |
| 16 | + |
| 17 | +## Config authorized_keys for ssh |
| 18 | +Open Launcher_Termux, add your id_rsa.pub in authorized_keys |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | +## Launch Launcher_Termux in Android Studio |
| 23 | + |
| 24 | +## Install openssh in Launcher_Termux |
| 25 | + |
| 26 | +``` |
| 27 | +pkg install openssh |
| 28 | +sshd |
| 29 | +``` |
| 30 | + |
| 31 | +## Remote access to Launcher_Termux through ssh |
| 32 | + |
| 33 | +``` |
| 34 | +ssh -p 8022 a@Android_IP |
| 35 | +``` |
| 36 | + |
| 37 | +## Install development rootfs(Launcher_Termux ssh environment) |
| 38 | + |
| 39 | +``` |
| 40 | +pkg update |
| 41 | +pkg install wget |
| 42 | +cd /data/data/com.termux/files |
| 43 | +wget https://github.com/SharpAI/DeepCamera/releases/download/1.1/usr_aarch64_dev_0318_2019.tgz |
| 44 | +tar -zxf usr_aarch64_dev_0318_2019.tgz |
| 45 | +``` |
| 46 | +#### you can delete usr_aarch64_dev_0318_2019.tgz to save space or just keep it |
| 47 | + |
| 48 | +## Test if working |
| 49 | + |
| 50 | +### please report issue if you have runtime warning |
| 51 | +``` |
| 52 | +LD_LIBRARY_PATH=/system/lib64:$LD_LIBRARY_PATH:$PREFIX/lib64:/system/vendor/lib64/egl:/system/vendor/lib64 python2 |
| 53 | +
|
| 54 | +import tvm |
| 55 | +``` |
| 56 | +``` |
| 57 | +>>> tvm.__version__ |
| 58 | +'0.5.dev' |
| 59 | +``` |
| 60 | +### please report issue if you have runtime warning |
| 61 | +``` |
| 62 | +LD_LIBRARY_PATH=/system/lib64:$LD_LIBRARY_PATH:$PREFIX/lib64 python2 |
| 63 | +
|
| 64 | +import mxnet |
| 65 | +``` |
| 66 | +``` |
| 67 | +>>> mxnet.__version__ |
| 68 | +'1.3.1' |
| 69 | +``` |
| 70 | +## Get the source code of DeepCamera |
| 71 | +``` |
| 72 | +cd |
| 73 | +git clone https://github.com/SharpAI/DeepCamera |
| 74 | +cd DeepCamera |
| 75 | +./setup.sh |
| 76 | +./start_service.sh |
| 77 | +``` |
0 commit comments