1 个不稳定版本
0.1.0 | 2020 年 9 月 15 日 |
---|
#6 在 #face-detection
2MB
51 行
人脸检测模型包装器
此应用程序设计为在 SSVM 内运行的 WebAssembly 函数中作为命令使用,以执行原生 tensorflow 操作。它**不**设计为直接用于命令行。
安装 tensorflow
遵循说明。在大多数 Linux 系统上,只需执行以下操作。
$ wget https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-gpu-linux-x86_64-1.15.0.tar.gz
$ sudo tar -C /usr/ -xzf libtensorflow-gpu-linux-x86_64-1.15.0.tar.gz
构建和安装
要从公共仓库安装,执行以下操作。
$ sudo cargo install face_detection_mtcnn
要从本地源安装,执行以下操作。
$ cargo build --release
$ sudo cp target/release/face_detection_mtcnn /usr/bin/
注意:如果在构建时出现错误,请尝试更新 rustup
。
$ rustup update nightly
$ rustup update stable
依赖关系
~21MB
~469K SLoC