From bdbfd094e1096b74379239ab9a19ae5f87ced610 Mon Sep 17 00:00:00 2001 From: "li.zhenye" Date: Thu, 4 Aug 2022 10:53:32 +0800 Subject: [PATCH] =?UTF-8?q?[docs]=20=E5=A6=82=E4=BD=95=E4=BD=BF=E7=94=A8?= =?UTF-8?q?=E5=8D=95=E7=8B=AC=E7=9B=B8=E6=9C=BA=E9=A2=84=E6=B5=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.md b/README.md index 0d31d48..3b7868d 100644 --- a/README.md +++ b/README.md @@ -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编译成字节码就行: