mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-20 02:55:38 +08:00
chore.更新版本号和Linux教程
This commit is contained in:
@@ -10,13 +10,13 @@
|
||||
|
||||
### Opencv
|
||||
|
||||
请自行搜索教程安装,没什么特别的,作者当前成功验证过的版本为`4.5.3`版本,不需要`opencv_contrib`
|
||||
请自行搜索教程安装,没什么特别的,作者当前成功验证过的版本为`4.5.3`版本,其他版本应该也没什么问题。仅`Opencv`本体即可,不需要额外安装`opencv_contrib`。
|
||||
|
||||
### PaddleOCR
|
||||
|
||||
1. 使用我魔改了接口的版本:https://github.com/MistEO/PaddleOCR
|
||||
2. 参考 [这个教程](https://github.com/PaddlePaddle/PaddleOCR/tree/release/2.3/deploy/cpp_infer#readme)
|
||||
3. PaddlePaddle 直接 [下载](https://paddleinference.paddlepaddle.org.cn/master/user_guides/download_lib.html) 即可
|
||||
3. PaddlePaddle 直接 [下载](https://paddleinference.paddlepaddle.org.cn/master/user_guides/download_lib.html) 即可。`avx`是一套 CPU 指令集,`mkl`是个数学库,两者都可以提高计算效率,建议选择。但如果 CPU 不支持,则需要选择`noavx`和`openblas`的兼容性版本。`cuda`和`cudnn`是 GPU 加速库,在`Paddle`上可能比较麻烦,我没折腾过,有兴趣可以尝试下
|
||||
4. 若`cmake`找不到`Opencv`,可以尝试修改 [Opencv 的查找路径](https://github.com/MistEO/PaddleOCR/blob/release/2.3/deploy/cpp_infer/CMakeLists.txt#L49)
|
||||
5. 若您使用`MKL`版本,可修改 [MKL 宏定义](https://github.com/MistEO/PaddleOCR/blob/release/2.3/deploy/cpp_infer/include/ocr_defines.h#L9) 为`true`以提高性能
|
||||
|
||||
@@ -41,7 +41,7 @@ make shared
|
||||
## MeoAssistant
|
||||
|
||||
1. 直接拷贝上面编译的第三方库到`3rdparty/lib` 或者 手动修改`CMakeLists.txt`指定第三方库路径
|
||||
2. `3rdparty/include/opencv`中的头文件是`4.5.3`版本的,若是使用其他版本,请注意头文件冲突问题
|
||||
2. `3rdparty/include/opencv`中的头文件是`4.5.3`版本的,若是使用其他版本,请注意头文件冲突问题(直接将你的`opencv`头文件覆盖过去就好)
|
||||
3. 安装`adb`,并修改`resource/config.json`中`Custom`.`adb`.`path`的值为`"adb"`
|
||||
4. 复制资源文件到`libMeoAssitant.so`同一目录下,具体可参考 [这个脚本](../../tools/update_resource.sh)
|
||||
5. 通过 [Python 接口](../Python/interface.py) 或 [C 接口](../../include/AsstCaller.h) 进行调用,需要自行编写少量的代码
|
||||
|
||||
@@ -2,5 +2,5 @@
|
||||
|
||||
namespace asst
|
||||
{
|
||||
constexpr static const char* Version = "v2.5.6";
|
||||
constexpr static const char* Version = "v2.5.7";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user