summaryrefstree
path: root/odm/etc/camera/dcamera/videobokehPreview.xml
blob: 61d7265b746e97154236853cad219aaf036d2530 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<?xml version="1.0" encoding="utf-8"?>
<Config>
    
    <FCVE> <!-- 单目人像分割网络模型 -->
        <spotTemplateFile>/vendor/etc/camera/dcamera/spotTemplateData.dat</spotTemplateFile>
        <gpuBinFile>/odm/etc/camera/libcl/wideAperture.bin</gpuBinFile>
        <depthScale>4</depthScale>
        <inOutDataType>1</inOutDataType> <!-- 0 uint8, 1 float -->
        <previewSegModel enable="1">     <!-- 0: disable 1: enable -->
            <modelWidth>480</modelWidth>
            <modelHeight>480</modelHeight>
            <outWidth>120</outWidth>
            <outHeight>120</outHeight>
            <modelPath>/vendor/etc/camera/semantic/model/human/body_seg_rt_480.om</modelPath>
            <isSoftmax>0</isSoftmax>
            <normData>0</normData>
        </previewSegModel>
        <isSupportAipp>1</isSupportAipp>
    </FCVE>

    <useVideoBokehApture> 1 </useVideoBokehApture>
    <useVideoBokehPortrait> 1 </useVideoBokehPortrait>
    <useVideoBokehSegment> 0 </useVideoBokehSegment>
    <useVideoBokehSegmentWidthThreshold> 1500 </useVideoBokehSegmentWidthThreshold>
    <boxFilter>
        <radius> 2 </radius>
    </boxFilter>
    <dofBoundarySmooth>
        <smoother> 8 </smoother>  <!--the greater, the smoother-->
    </dofBoundarySmooth>
    <isBlurOnMask enable="0">     <!-- 0: disable 1: enable -->
    </isBlurOnMask>

    <totalSendLastFrameCnt> 5 </totalSendLastFrameCnt>
    <bokehStartSmoothFrameNum> 12 </bokehStartSmoothFrameNum>

    <guideResize enable="0">     <!-- 0: disable 1: enable -->
    </guideResize>
    <denseDmapOptAlg enable="1">     <!-- 0: disable 1: enable -->
    </denseDmapOptAlg>
    <flareEnhance enable="0">     <!-- 0: disable 1: enable -->
    </flareEnhance>
    
    <bokehParam>
        <aivCircleMinWidth>72</aivCircleMinWidth>
        <aivCircleMinHeight>72</aivCircleMinHeight>
    </bokehParam>
    <transFrameNum> 32 </transFrameNum>
    <trackMaskCntTotal> 16 </trackMaskCntTotal>
    <delayFrameNum> 0 </delayFrameNum>
    <bokehCiclePara>
        <tfCoef> 60 </tfCoef>
    </bokehCiclePara>
    <segBinDilateTimes> 2 </segBinDilateTimes>

    <sigmaCurveParam>
        <commonSlopCoef> 0.70 </commonSlopCoef>
        <commonSlopCoefSegMode> 0.63 </commonSlopCoefSegMode>
        <dofCuvreParamA> 55 </dofCuvreParamA>
        <dofCuvreParamB> 20 </dofCuvreParamB>
        <baselineCoef>1.0</baselineCoef>
    </sigmaCurveParam>
</Config>