Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AI-FanGe/OpenAIglasses_for_Navigation
/ getModeText
Method
getModeText
static/vision.js:195–202 ·
view source on GitHub ↗
(mode)
Source
from the content-addressed store, hash-verified
193
}
194
195
getModeText(mode) {
196
const
modeMap = {
197
'SEGMENT'
:
'检测 Detect'
,
198
'FLASH'
:
'锁定 Lock'
,
199
'TRACK'
:
'追踪 Track'
200
};
201
return
modeMap[mode] || mode;
202
}
203
204
drawFrame(frameData) {
205
// 绘制基础图像
Callers
1
updateDataPanel
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected