mirror of
https://github.com/NanjingForestryUniversity/supermachine-tobacco.git
synced 2025-11-08 14:23:55 +00:00
[docs] 如何使用单独相机预测
This commit is contained in:
parent
9e752003ae
commit
bdbfd094e1
18
README.md
18
README.md
@ -178,6 +178,8 @@
|
||||
|
||||
## 喷阀检查
|
||||
|
||||
### 喷阀检验脚本
|
||||
|
||||
为了能够有效的对喷阀进行检查,我写了一个用于测试的小socket,这个小socket的使用方式是这样的:
|
||||
|
||||
开启服务端:
|
||||
@ -200,6 +202,22 @@ python valve_test.py -c
|
||||
|
||||

|
||||
|
||||
### 只使用RGB或SPEC预测
|
||||
|
||||
只使用RGB或者SPEC预测时,使用如下代码:
|
||||
|
||||
只使用rgb:
|
||||
|
||||
```shell
|
||||
python main.py -oc
|
||||
```
|
||||
|
||||
只使用SPEC
|
||||
|
||||
```shell
|
||||
python main.py -os
|
||||
```
|
||||
|
||||
# 代码加密
|
||||
|
||||
本来想使用pyarmor,但是它在加密过程中一直重复不停的进行下载,这太麻烦了,而且还要考虑到兼容性问题,所以果断放弃,后来发现简单的方案是这样的,把python编译成字节码就行:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user