# RockX Command Line Demo
## RK3399Pro Android
### Prepare
Download NDK from [Link](https://developer.android.google.cn/ndk/downloads).
Then modify `ANDROID_NDK_PATH` which in the `demo/build-android-rk3399pro-v8a.sh` or `demo/build-android-rk3399pro-v7a.sh` file to your installed NDK path.
### Build
```
cd demo
./build-android-rk3399pro-v8a.sh
```
Build output path: `install/rockx_rk3399pro_android_arm64-v8a`
### Install
Install to RK3399Pro device
```
adb push install/rockx_rk3399pro_android_arm64-v8a /data/
```
### Run
```
adb shell
cd /data/rockx_rk3399pro_android_arm64-v8a/rockx_face_landmark_demo
export LD_LIBRARY_PATH=../lib/
./rockx_face_landmark face4.jpg 68
```
After execution, it will generate `out_landmark.jpg`.
## RK3399Pro Linux (Cross Compile)
### Prepare
Download cross compile toolchain from [Link](https://releases.linaro.org/components/toolchain/binaries/6.3-2017.05/aarch64-linux-gnu/).
Then modify `GCC_COMPILER_PATH` which in the `demo/build-linux-rk3399pro.sh` to your toolchain path.
### Build
```
cd demo
./build-linux-rk3399pro.sh
```
Build output path: `install/rockx_rk3399pro_linux_aarch64`
### Install
```
adb push install/rockx_rk3399pro_linux_aarch64 /userdata/
```
or
```
scp -r install/rockx_rk3399pro_linux_aarch64 toybrick@<device-ip>:/home/toybrick/
```
### Run
```
cd rockx_rk3399pro_linux_aarch64/rockx_face_landmark_demo
./rockx_face_landmark face4.jpg 68
```
After execution, it will generate `out_landmark.jpg`.
## RK3399Pro Linux (Build On Device)
### Prepare
install `cmake`, `gcc` and `g++`
### Build
```
./build-linux-rk3399pro-on-device.sh
```
### Run
```
cd install/rockx_linux_rk3399pro/rockx_face_landmark_demo
./rockx_face_landmark face4.jpg 68
```
After execution, it will generate `out_landmark.jpg`.
## RK1808 Linux (Cross Compile)
### Prepare
Download cross compile toolchain from [Link](https://releases.linaro.org/components/toolchain/binaries/6.3-2017.05/aarch64-linux-gnu/).
Then modify `GCC_COMPILER_PATH` which in the `demo/build-linux-rk1808.sh` to your toolchain path.
### Build
```
cd demo
./build-linux-rk1808.sh
```
Build output path: `install/rockx_rk1808_linux_aarch64`
### Install
```
adb push install/rockx_rk1808_linux_aarch64 /userdata/
```
### Run
```
cd /userdata/rockx_rk1808_linux_aarch64/rockx_face_landmark_demo
./rockx_face_landmark face4.jpg 68
```
After execution, it will generate `out_landmark.jpg`.
## PC Linux
### Prepare
Install `cmake`, `gcc` and`g++`
### Build
```
./build-linux-x86.sh
```
### Run
Insert RK1808 Compute Stick, then execute the command below:
```
cd install/rockx_linux_x86/rockx_face_landmark_demo
./rockx_face_landmark face4.jpg 68
```
After execution, it will generate `out_landmark.jpg`.
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
RK平台AI例程组件资源包 (368个子文件)
RockXConfig.cmake 1KB
RockXConfig.cmake 1KB
RockXConfig.cmake 1KB
RockXConfig.cmake 1KB
x86.windows.cmake 296B
rk3399pro.android.armeabiv7a.cmake 169B
rk3399pro.android.arm64v8a.cmake 167B
rk3399pro.linux.aarch64.cmake 55B
x86.darwin.cmake 54B
x86.linux.aarch64.cmake 52B
rk1808.linux.aarch64.cmake 52B
rockx_face_recognition.cpp 5KB
rockx_face_liveness.cpp 5KB
rockx_object_track.cpp 4KB
rockx_face_landmark.cpp 4KB
rockx_carplate_demo.cpp 4KB
rockx_face_attribute.cpp 4KB
rockx_pose_body_async.cpp 3KB
rockx_pose_finger.cpp 3KB
rockx_pose_body.cpp 3KB
rockx_object_detection.cpp 2KB
rockx_face_detection.cpp 2KB
rockx_head_detection.cpp 2KB
doxygen.css 27KB
tabs.css 8KB
search.css 4KB
pose_body.data 49.95MB
face_recognition.data 48.66MB
pose_hand.data 35.28MB
object_detection.data 23.95MB
carplate_detection.data 13.36MB
head_detection.data 13.23MB
face_landmarks68.data 8.08MB
face_detection.data 7.54MB
carplate_recognition.data 4.79MB
pose_finger.data 4.53MB
carplate_align.data 3.63MB
face_liveness_2d.data 1.71MB
face_landmark5.data 603KB
face_attribute.data 458KB
rockx.h 7KB
rockx.h 7KB
rockx.h 7KB
rockx.h 7KB
face.h 6KB
face.h 6KB
face.h 6KB
face.h 6KB
rockx_image_util.h 5KB
rockx_image_util.h 5KB
rockx_image_util.h 5KB
rockx_image_util.h 5KB
rockx_type.h 5KB
rockx_type.h 5KB
rockx_type.h 5KB
rockx_type.h 5KB
carplate.h 4KB
carplate.h 4KB
carplate.h 4KB
carplate.h 4KB
object_detection.h 3KB
object_detection.h 3KB
object_detection.h 3KB
object_detection.h 3KB
rockx_config_util.h 2KB
rockx_config_util.h 2KB
rockx_config_util.h 2KB
rockx_config_util.h 2KB
pose.h 2KB
pose.h 2KB
pose.h 2KB
pose.h 2KB
rockx_tensor_util.h 2KB
rockx_tensor_util.h 2KB
rockx_tensor_util.h 2KB
rockx_tensor_util.h 2KB
object_track.h 2KB
object_track.h 2KB
object_track.h 2KB
object_track.h 2KB
rockx__type_8h_source.html 57KB
rockx__image__util_8h.html 37KB
face_8h.html 36KB
face_8h_source.html 35KB
rockx__type_8h.html 32KB
rockx__image__util_8h_source.html 26KB
rockx_8h_source.html 24KB
rockx__config__util_8h.html 23KB
globals.html 20KB
carplate_8h.html 19KB
rockx__config__util_8h_source.html 19KB
carplate_8h_source.html 19KB
object__detection_8h_source.html 18KB
pose_8h_source.html 18KB
rockx__tensor__util_8h.html 16KB
object__detection_8h.html 16KB
rockx_8h.html 16KB
rockx__tensor__util_8h_source.html 14KB
pose_8h.html 13KB
index.html 11KB
共 368 条
- 1
- 2
- 3
- 4
资源评论
一只敏捷的独角鲸
- 粉丝: 5
- 资源: 2
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功