vendor_xiaomi_onyx/proprietary/odm/etc/camera/truesight_param.json
zenin1504 737bba2d3d onyx: Push vendor repo here
Change-Id: If8d0b57acc6b41c28c7a331e41db44d2
Signed-off-by: zenin1504 <me.zenin1504.dev@gmail.com>
2026-06-26 20:21:50 +08:00

128 lines
4 KiB
JSON

{
"##note": "配置规则: ",
"##note1": "1.某一配置项如果不存在, 则使用代码中的默认值. 如: 没有配置EffectParams::preview, 则预览模式下, 所有效果参数使用代码中的默认值",
"##note2": "2.某一配置项如果存在, 则使用配置项下配置的各属性值. 对于配置项支持但没有配置的属性, 使用代码中的默认值",
"##note3": "3.某一配置项如果不存在, 但存在default项目项, 则使用default配置项. 如: EffectParams::capture下未配置OtherFront, 则使用default配置项",
"TrueSight": "",
"BrandModel": "xiaomi_N9",
"CaptureDefaultEffectPath": "render/Effect/effect_mode_clear.json",
"PreviewDefaultEffectPath": "render/Effect/effect_mode_clear.json",
"EffectGLSLPath": "render/BuildIn/",
"FaceTrackerStrategy": {
"EnableGenderSmooth" : false,
"EnableGenderMultiFrames" : true
},
"XRealityImageInit": {
"E2EWarp":2,
"EnableE2Eacne": true,
"EnableE2EskinUnify": true,
"EnableE2Ewrinkle": true,
"EnableE2Eeyebrow": true,
"EnableE2Egrease": false,
"EnableE2Eneckline": true,
"EnableE2Eskintuner": true,
"EnableE2EacneLight": true,
"EnableE2Edimple": true,
"EnableE2Efaceparsing": true,
"EnableFaceRetouch": true,
"E2EacneHardwareAccelerationType": 1,
"E2EskinUnifyHardwareAccelerationType": 1,
"E2EwrinkleHardwareAccelerationType": 1,
"E2EeyebrowHardwareAccelerationType": 1,
"E2EgreaseHardwareAccelerationType": 1,
"E2EnecklineHardwareAccelerationType": 1,
"E2EskintunerHardwareAccelerationType": 1,
"E2EacneLightHardwareAccelerationType": 1
},
"XRealityPreviewInit": {
"EnableE2E2EacneLight": false,
"E2EacneLightHardwareAccelerationType": 1
},
"FactorConfig":
{
"##Retouch": "磨皮程度系数",
"Retouch":
[
{
"##": "普通(拍照)模式",
"Type": 0,
"PreviewIso": [ 99, 100, 399, 400, 1199, 1200, 3199, 3200],
"PreviewFactor":[1.0, 0.8, 0.8, 0.6, 0.6, 0.4, 0.4, 0.2],
"CaptureIso": [ 99, 100, 399, 400, 1199, 1200, 3199, 3200],
"CaptureFactor":[1.0, 0.8, 0.8, 0.6, 0.6, 0.4, 0.4, 0.2]
},
{
"##": "视频模式",
"Type": 1,
"PreviewIso": [ 299, 300, 799, 800, 1199, 1200],
"PreviewFactor":[1.0, 0.8, 0.8, 0.5, 0.5, 0.2],
"CaptureIso": [ 299, 300, 799, 800, 1199, 1200],
"CaptureFactor":[1.0, 0.8, 0.8, 0.5, 0.5, 0.2]
},
{
"##": "后置模式",
"Type": 2,
"PreviewIso": [ 99, 100, 399, 400, 1199, 1200, 3199, 3200],
"PreviewFactor":[1.0, 0.8, 0.8, 0.6, 0.6, 0.4, 0.4, 0.2],
"CaptureIso": [ 99, 100, 399, 400, 1199, 1200, 3199, 3200],
"CaptureFactor":[1.0, 0.8, 0.8, 0.6, 0.6, 0.4, 0.4, 0.2]
}
],
"##EnvLight": "环境光系数",
"EnvLight":
[
{
"##": "普通(自动)模式",
"Type": 0,
"LuxArray": [0, 110, 160, 300, 350, 400, 430, 999],
"FaceShadowPerc":0.1,
"K":0.3,
"HighThreshold":[60, 60, 85, 85, 60, 60, 60, 60],
"LowThreshold":[30, 30, 35, 35, 30, 30, 30, 30],
"Step":[0.04, 0.04, 0.02, 0.02, 0.04, 0.04, 0.04, 0.04],
"FaceShadowThreshold":140,
"MinFactor":0.2,
"MaxFactor":[1.0, 1.0, 1.0, 1.0, 0.6, 0.4, 0.2, 0.2]
},
{
"##": "妆容模式",
"Type": 1,
"LuxArray": [0, 110, 160, 300, 350, 400, 430, 999],
"FaceShadowPerc":0.1,
"K":0.3,
"HighThreshold":[130, 130, 130, 130, 130, 130, 130, 130],
"LowThreshold":[30, 30, 30, 30, 30, 30, 30, 30],
"Step":[0.01, 0.01, 0.01, 0.01, 0.01, 0.01, 0.01, 0.01],
"FaceShadowThreshold":140,
"MinFactor":0.3,
"MaxFactor":[1.0, 1.0, 1.0, 1.0, 0.8, 0.8, 0.5, 0.5]
},
{
"##": "后置模式",
"Type": 2,
"LuxArray": [0, 110, 160, 260, 300, 360, 400, 999],
"FaceShadowPerc":0.1,
"K":0.3,
"HighThreshold":[90, 90, 90, 90, 90, 90, 90, 90],
"LowThreshold":[40, 40, 40, 40, 40, 40, 40, 40],
"Step":[0.02, 0.02, 0.02, 0.02, 0.02, 0.02, 0.02, 0.02],
"FaceShadowThreshold":140,
"MinFactor":0.2,
"MaxFactor":[1.0, 1.0, 1.0, 1.0, 0.9, 0.7, 0.3, 0.2]
}
],
"##FillLight": "补光灯系数",
"FillLight":
[
{
"Factor": 1.0
}
]
}
}