first commit

This commit is contained in:
ykcheungab
2026-08-06 15:18:27 +08:00
commit a5a73d76d1
37 changed files with 2697 additions and 0 deletions
+123
View File
@@ -0,0 +1,123 @@
{
"app": {
"title": "传感器检测台",
"language": "语言",
"lang_zh": "中文",
"lang_en": "English"
},
"panels": {
"instructions": "操作步骤",
"options": "传感器组件类型",
"camera": "相机(Orisys SDK)",
"recording": "录制",
"raw": "原始图像(sensor.frame)",
"processed": "处理后图像(Sensor.get_img)",
"force": "力曲线"
},
"labels": {
"sensor_type": "传感器类型",
"elastomer": "弹性体",
"cmos": "CMOS",
"marker": "图案",
"indentor": "压头",
"platform": "平台",
"camera_index": "相机索引",
"backend": "后端",
"fixed_mode": "固定模式:{mode}",
"fixed_mode_unset": "固定模式:请设置配置路径",
"fixed_mode_invalid": "固定模式:配置无效({error})",
"requested": "请求",
"actual": "实际",
"capture_fps": "采集 FPS",
"render_fps": "渲染 FPS",
"proc_ms": "处理 ms",
"fn": "FN",
"fx": "FX",
"fy": "FY",
"no_preview": "暂无预览",
"processed_placeholder": "点击开始预览以显示 Orisys 输出",
"not_recording": "未在录制",
"force_plot": "力"
},
"buttons": {
"config": "配置…",
"cal": "标定…",
"start_preview": "开始预览",
"stop_preview": "停止预览",
"browse": "浏览…",
"start_record": "开始录制",
"stop_record": "停止录制",
"next": "下一步",
"revert": "上一步",
"reset": "新样品 / 重置"
},
"placeholders": {
"config": "DDJX01 配置 JSON 路径或名称",
"cal": "可选标定文件 .npy"
},
"dialogs": {
"select_config": "选择配置 JSON",
"select_cal": "选择标定文件",
"select_recordings": "选择录制文件夹",
"orisys_title": "Orisys",
"orisys_required": "预览需要 Orisys SDK。\n\n{detail}",
"config_title": "配置",
"config_required": "请先选择 DDJX01 配置 JSON。",
"config_invalid": "无法加载配置。",
"capture_title": "采集",
"recording_title": "录制",
"no_frame": "尚无可用帧。"
},
"status": {
"ready": "就绪 — 开始预览将使用 Orisys DDJX01 固定格式。",
"orisys_ok": "orisys 可用(版本 {version})",
"orisys_missing": "无法导入 orisys — 请将 orisys-sdk/src 加入 PYTHONPATH。",
"opening": "正在打开 Orisys({mode})…",
"preview_stopped": "预览已停止。",
"capture_error": "采集错误:{message}",
"frame_info": "{raw_w}x{raw_h} 原始 / {proc_w}x{proc_h} 处理 @ {fps:.1f} FPS",
"recording": "正在录制… {name}\n选项:传感器={sensor_type},弹性体={elastomer},CMOS={cmos},标记={marker},压头={indentor},平台={platform}",
"recording_frames": "正在录制… {name}\n帧数:{count}",
"saved": "已保存 {count} 帧 → {path}",
"workflow_done": "全部步骤已完成。可点击“新样品 / 重置”开始下一个样品。"
},
"workflow": {
"title": "传感器检测流程",
"current_marker": "当前",
"done_marker": "已完成",
"steps": {
"power_on": {
"title": "开机并连接",
"body": "连接传感器 USB 线缆,等待 Windows 识别设备。"
},
"select_camera": {
"title": "启动 Orisys 预览",
"body": "确认相机索引(通常为 0)和 DDJX01 配置,然后点击开始预览。格式由 Orisys 配置固定(1920x1080 @ 30)。"
},
"set_options": {
"title": "设置传感器选项",
"body": "选择与当前被测实物一致的弹性体类型、CMOS 类型和标记类型。"
},
"check_preview": {
"title": "检查原始与处理后预览",
"body": "确认原始画面约为 1920x1080,处理后 Orisys 图像约为 365x365。检查对焦、光照和画面清洁度。"
},
"record": {
"title": "录制原始数据",
"body": "选择存储文件夹,开始录制,操作传感器,然后停止录制。"
},
"review_curves": {
"title": "查看性能曲线",
"body": "观察采集/渲染 FPS 与力曲线,确认无明显掉帧或曝光不稳定后再签字确认。"
},
"sensitivity": {
"title": "灵敏度测试",
"body": "选择小压头,并加载 2g 砝码,观察力曲线是否有清晰变化。"
},
"max_load": {
"title": "最大载荷测试",
"body": "选择平板压头,并加载 10g 到 500g 的砝码观察曲线变化;MINI 使用 10g 到 500g,BOX 使用 2kg。"
}
}
}
}