MCPcopy Create free account
hub / github.com/AI-FanGe/OpenAIglasses_for_Navigation / drawObjects

Method drawObjects

static/vision.js:252–263  ·  view source on GitHub ↗
(objects)

Source from the content-addressed store, hash-verified

250 }
251
252 drawObjects(objects) {
253 // 绘制检测到的物体
254 objects.forEach((obj, index) => {
255 if (obj.isTarget) {
256 // 目标物体用特殊样式
257 this.drawTargetObject(obj);
258 } else {
259 // 其他物体用普通样式
260 this.drawNormalObject(obj);
261 }
262 });
263 }
264
265 drawTargetObject(obj) {
266 // 创建目标锁定效果

Callers 1

updateVisualizationMethod · 0.95

Calls 1

drawTargetObjectMethod · 0.95

Tested by

no test coverage detected