124 lines
4.5 KiB
JSON
124 lines
4.5 KiB
JSON
{
|
|
"app": {
|
|
"title": "Sensor Bench",
|
|
"language": "Language",
|
|
"lang_zh": "中文",
|
|
"lang_en": "English"
|
|
},
|
|
"panels": {
|
|
"instructions": "Instructions",
|
|
"options": "Sensor Component Types",
|
|
"camera": "Camera (Orisys SDK)",
|
|
"recording": "Recording",
|
|
"raw": "Raw Image (sensor.frame)",
|
|
"processed": "Processed Image (Sensor.get_img)",
|
|
"force": "Force Curves"
|
|
},
|
|
"labels": {
|
|
"sensor_type": "Sensor type",
|
|
"elastomer": "Elastomer",
|
|
"cmos": "CMOS",
|
|
"marker": "Marker",
|
|
"indentor": "Indenter",
|
|
"platform": "Platform",
|
|
"camera_index": "Camera index",
|
|
"backend": "Backend",
|
|
"fixed_mode": "Fixed mode: {mode}",
|
|
"fixed_mode_unset": "Fixed mode: set config path",
|
|
"fixed_mode_invalid": "Fixed mode: invalid config ({error})",
|
|
"requested": "Requested",
|
|
"actual": "Actual",
|
|
"capture_fps": "Capture FPS",
|
|
"render_fps": "Render FPS",
|
|
"proc_ms": "Proc ms",
|
|
"fn": "FN",
|
|
"fx": "FX",
|
|
"fy": "FY",
|
|
"no_preview": "No preview",
|
|
"processed_placeholder": "Start Preview to show Orisys output",
|
|
"not_recording": "Not recording",
|
|
"force_plot": "Force"
|
|
},
|
|
"buttons": {
|
|
"config": "Config…",
|
|
"cal": "Cal…",
|
|
"start_preview": "Start Preview",
|
|
"stop_preview": "Stop Preview",
|
|
"browse": "Browse…",
|
|
"start_record": "Start Record",
|
|
"stop_record": "Stop Record",
|
|
"next": "Next",
|
|
"revert": "Revert",
|
|
"reset": "New Sample / Reset"
|
|
},
|
|
"placeholders": {
|
|
"config": "DDJX01 config JSON path or name",
|
|
"cal": "Optional calibration .npy"
|
|
},
|
|
"dialogs": {
|
|
"select_config": "Select config JSON",
|
|
"select_cal": "Select calibration",
|
|
"select_recordings": "Select recordings folder",
|
|
"orisys_title": "Orisys",
|
|
"orisys_required": "orisys SDK is required for preview.\n\n{detail}",
|
|
"config_title": "Config",
|
|
"config_required": "Select a DDJX01 config JSON first.",
|
|
"config_invalid": "Config could not be loaded.",
|
|
"capture_title": "Capture",
|
|
"recording_title": "Recording",
|
|
"no_frame": "No frame yet."
|
|
},
|
|
"status": {
|
|
"ready": "Ready — Start Preview uses Orisys DDJX01 fixed format.",
|
|
"orisys_ok": "orisys available (version {version})",
|
|
"orisys_missing": "orisys not importable — add orisys-sdk/src to PYTHONPATH.",
|
|
"opening": "Opening Orisys ({mode})…",
|
|
"preview_stopped": "Preview stopped.",
|
|
"capture_error": "Capture error: {message}",
|
|
"frame_info": "{raw_w}x{raw_h} raw / {proc_w}x{proc_h} processed @ {fps:.1f} FPS",
|
|
"recording": "Recording… {name}\nOptions: sensor={sensor_type}, elastomer={elastomer}, cmos={cmos}, marker={marker}, indenter={indentor}, platform={platform}",
|
|
"recording_frames": "Recording… {name}\nFrames: {count}",
|
|
"saved": "Saved {count} frames → {path}",
|
|
"workflow_done": "All steps completed. Click New Sample / Reset for the next unit."
|
|
},
|
|
"workflow": {
|
|
"title": "Sensor Bench Inspection Workflow",
|
|
"current_marker": "Current",
|
|
"done_marker": "Done",
|
|
"steps": {
|
|
"power_on": {
|
|
"title": "Power on and connect",
|
|
"body": "Connect the sensor USB cable and wait until Windows recognizes the device."
|
|
},
|
|
"select_camera": {
|
|
"title": "Start Orisys preview",
|
|
"body": "Confirm camera index (usually 0) and DDJX01 config, then click Start Preview. Format is fixed by the Orisys config (1920x1080 @ 30)."
|
|
},
|
|
"set_options": {
|
|
"title": "Set sensor options",
|
|
"body": "Choose elastomer type, CMOS type, and marker type that match the physical unit under test."
|
|
},
|
|
"check_preview": {
|
|
"title": "Check raw and processed preview",
|
|
"body": "Confirm raw frame is ~1920x1080 and processed Orisys image is ~365x365. Inspect focus, lighting, and image cleanliness."
|
|
},
|
|
"record": {
|
|
"title": "Record raw data",
|
|
"body": "Choose a storage folder, start recording, exercise the sensor, then stop recording."
|
|
},
|
|
"review_curves": {
|
|
"title": "Review performance curves",
|
|
"body": "Watch capture/render FPS and force curves for drops or unstable exposure before signing off."
|
|
},
|
|
"sensitivity": {
|
|
"title": "Sensitivity test",
|
|
"body": "Choose a small indenter and apply a 2g weight, then watch for a clear force-curve change."
|
|
},
|
|
"max_load": {
|
|
"title": "Maximum load test",
|
|
"body": "Choose a flat plate indenter and apply weights from 10g to 500g to watch for curve changes. Use 10g to 500g for MINI and 2kg for BOX."
|
|
}
|
|
}
|
|
}
|
|
}
|