Files

95 lines
2.0 KiB
JSON

{
"server": {
"base_url": "https://www.xdjchuanhui.com/api",
"mock": false
},
"account": {
"username": "13000000008",
"password": "123456",
"role": "picker"
},
"scale": {
"simulate": true,
"port": "COM3",
"baudrate": 1200,
"bytesize": 8,
"parity": "N",
"stopbits": 1.0,
"unit": "auto",
"pattern": "",
"poll_cmd": "",
"poll_ms": 500,
"protocol": "generic",
"min_weight_kg": 0.01,
"stable_count": 5,
"stable_tolerance_kg": 0.02,
"tare_cmd": "",
"zero_cmd": "",
"sim_loop_kg": 3.0,
"sim_loop_hold_s": 2.5,
"sim_loop_keep_s": 10.0,
"sim_loop_idle_s": 3.0,
"sim_loop_jitter_kg": 0.6
},
"camera": {
"simulate": true,
"index": 1,
"backend": "dshow",
"auto_pick": true,
"width": 1280,
"height": 720,
"usb_only": true,
"name": "BisonCam,NB Pro"
},
"vision": {
"provider": "doubao",
"api_key": "ark-d48b86db-b890-4241-9069-a10e24f62060-a4af1",
"base_url": "https://ark.cn-beijing.volces.com/api/v3",
"vision_model": "doubao-seed-2-1-pro-260915",
"text_model": "doubao-seed-2-1-pro-260915",
"disable_thinking": true,
"max_tokens": 32,
"timeout": 15,
"recognition_image_max_px": 1280
},
"printer": {
"enabled": false,
"type": "tspl",
"printer_name": "HUAWEI CV81-WDMSE-0470",
"width_mm": 50,
"height_mm": 50,
"release_usb": false
},
"flow": {
"auto_submit": true,
"min_scale_kg": 0.01,
"stable_ms": 400,
"stable_delta_kg": 0.03,
"rescan_delta_kg": 0.04,
"unstable_fallback_ms": 2500,
"done_lift_off_kg": 0.2,
"recognize_timeout": 8,
"commit_timeout": 10,
"recognize_cooldown": 30,
"dedup_delta_kg": 0.005,
"frame_stale_ms": 5000,
"tolerance_policy": "block_auto",
"use_scale_stable": true,
"demo_recog": true
},
"capture_dir": "data/snapshots",
"record_file": "data/records_demo.csv",
"snapshot_keep_days": 30,
"ui": {
"mode": "window",
"width": 1440,
"height": 900,
"borderless": false,
"todo_thumb": false,
"todo_group": "customer",
"fit_screen": false
},
"devices": {
"auto_detect": true
}
}