Skip to content

Commit e2f8967

Browse files
committed
[update] yolo doc
1 parent 23d2adc commit e2f8967

File tree

2 files changed

+63
-1
lines changed

2 files changed

+63
-1
lines changed

doc/projects_llm_framework_doc/llm_camera.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
- input:读取的设备名。
2929
- frame_width:输出的视频帧宽。
3030
- frame_height:输出的视频帧高。
31-
- enoutput:是否起用用户结果输出。
31+
- enoutput:是否起用用户结果输出。如果不需要获取摄像头图片,请不要开启该参数,视频流会增加信道的通信压力。
3232

3333
响应 json:
3434

projects/llm_framework/README.md

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,3 +167,65 @@ waiting return status:
167167
```
168168

169169
**Please enjoy the large model voice assistant.**
170+
171+
172+
## cv mode
173+
1、reset
174+
175+
send :
176+
177+
```json
178+
{
179+
"request_id": "11212155",
180+
"work_id": "sys",
181+
"action": "reset"
182+
}
183+
```
184+
waiting reset over!
185+
186+
2、init camera unit
187+
188+
send :
189+
190+
```json
191+
{
192+
"request_id":"4",
193+
"work_id":"camera",
194+
"action":"setup",
195+
"object":"camera.setup",
196+
"data":{
197+
"response_format":"camera.raw",
198+
"input":"/dev/video0",
199+
"enoutput":false,
200+
"frame_width":320,
201+
"frame_height":320
202+
}
203+
}
204+
```
205+
waiting return work_id:
206+
```json
207+
{"created":1731488371,"data":"None","error":{"code":0,"message":""},"object":"None","request_id":"4","work_id":"camera.1000"}
208+
```
209+
210+
2、init yolo unit
211+
212+
send :
213+
214+
```json
215+
{
216+
"request_id":"5",
217+
"work_id":"yolo",
218+
"action":"setup",
219+
"object":"yolo.setup",
220+
"data":{
221+
"model":"yolo11n_anquanmao",
222+
"response_format":"yolo.yolobox",
223+
"input":"camera.1000",
224+
"enoutput":true
225+
}
226+
}
227+
```
228+
waiting return work_id:
229+
```json
230+
{"created":1731488371,"data":"None","error":{"code":0,"message":""},"object":"None","request_id":"5","work_id":"yolo.1001"}
231+
```

0 commit comments

Comments
 (0)