[docs] 如何使用单独相机预测

This commit is contained in:
li.zhenye 2022-08-04 10:53:32 +08:00
parent 9e752003ae
commit bdbfd094e1

View File

@ -178,6 +178,8 @@
## 喷阀检查
### 喷阀检验脚本
为了能够有效的对喷阀进行检查我写了一个用于测试的小socket这个小socket的使用方式是这样的
开启服务端:
@ -200,6 +202,22 @@ python valve_test.py -c
![截屏2022-08-02 14.16.24](https://raw.githubusercontent.com/Karllzy/imagebed/main/img/%E6%88%AA%E5%B1%8F2022-08-02%2014.16.24.png)
### 只使用RGB或SPEC预测
只使用RGB或者SPEC预测时使用如下代码
只使用rgb
```shell
python main.py -oc
```
只使用SPEC
```shell
python main.py -os
```
# 代码加密
本来想使用pyarmor但是它在加密过程中一直重复不停的进行下载这太麻烦了而且还要考虑到兼容性问题所以果断放弃后来发现简单的方案是这样的把python编译成字节码就行