Skip to content

Commit a7ed027

Browse files
committed
Merge branch 'master' of https://github.com/SharpAI/DeepCamera
2 parents 4580203 + 0fd6087 commit a7ed027

8 files changed

Lines changed: 10931 additions & 1121 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ Full stack system for the deep learning edge computing devices, espeicailly set-
5151

5252
## 1. Generate/Get Serial No
5353
### Android
54-
After install Launcher(Modified Termux), the serial_no will be placed:
55-
`/data/data/com.termux/files/home/.ro_serialno`
54+
After install Launcher(Modified Termux), QR Code is placed on screen.
55+
5656
### Linux/MacOS
5757
Get your Mac Address(1e:20:34:10:24:21)
5858
```
@@ -65,7 +65,7 @@ echo 1e2034102421 > docker/workaipython/ro_serialno
6565

6666
## 3. How to Run DeepCamera on Edge Device
6767

68-
### 3.1 [Run on Android(5.1+ aarch64)](docs/Run_On_Android_aarch64.md)
68+
### 3.1 [Run on Android(5.1+ aarch64)](docs/Run_Source_Android_aarch64.md)
6969
### 3.2 Run on Rockchip RK3399 with linux/docker
7070
#### 3.2.1 Use prebuilt docker images
7171
```

docs/Run_On_Android_aarch64.md

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ ssh -p 8022 a@Android_IP
4040
pkg update
4141
pkg install wget
4242
cd /data/data/com.termux/files
43-
wget https://github.com/SharpAI/DeepCamera/releases/download/1.1/usr_aarch64_dev_1204_2018.tgz
44-
tar -zxf usr_aarch64_dev_1204_2018.tgz
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
4545
```
46-
#### you can delete usr_aarch64_dev_1204_2018.tgz to save space or just keep it
46+
#### you can delete usr_aarch64_dev_0318_2019.tgz to save space or just keep it
4747

4848
## Test if working
4949

@@ -52,13 +52,20 @@ tar -zxf usr_aarch64_dev_1204_2018.tgz
5252
LD_LIBRARY_PATH=/system/lib64:$LD_LIBRARY_PATH:$PREFIX/lib64:/system/vendor/lib64/egl:/system/vendor/lib64 python2
5353
5454
import tvm
55-
import mxnet
5655
```
5756
```
5857
>>> tvm.__version__
5958
'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+
```
6067
>>> mxnet.__version__
61-
'0.10.1'
68+
'1.3.1'
6269
```
6370
## Get the source code of DeepCamera
6471
```

docs/Run_Source_Android_aarch64.md

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
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+
![add authorized keys](../screenshots/add_authorized_keys.png)
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+
```

model/model-0000.params

3.92 MB
Binary file not shown.

0 commit comments

Comments
 (0)