sceneDetection.xml 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277
  1. <?xml version="1.0"?>
  2. <sceneDetection>
  3. <commonSetting>
  4. <blockWidth>32</blockWidth>
  5. <blockHeight>32</blockHeight>
  6. <frameNumToSave>3</frameNumToSave>
  7. <downsampleFactor>2</downsampleFactor>
  8. </commonSetting>
  9. <hdr>
  10. <indoor_iso>800</indoor_iso>
  11. <indoor_expoTime>83</indoor_expoTime>
  12. <indoor_lowExpoRange>10</indoor_lowExpoRange>
  13. <indoor_highExpoRange>8</indoor_highExpoRange>
  14. <indoor_lowExpoRangeExtended>5</indoor_lowExpoRangeExtended>
  15. <indoor_highExpoRangeExtended>5</indoor_highExpoRangeExtended>
  16. <indoor_lowRatioThre>0.03</indoor_lowRatioThre>
  17. <indoor_highRatioThre>0.03</indoor_highRatioThre>
  18. <indoor_face_lowExpoRange>5</indoor_face_lowExpoRange>
  19. <indoor_face_highExpoRange>8</indoor_face_highExpoRange>
  20. <indoor_face_lowExpoRangeExtended>5</indoor_face_lowExpoRangeExtended>
  21. <indoor_face_highExpoRangeExtended>5</indoor_face_highExpoRangeExtended>
  22. <indoor_face_lowRatioThre>0.05</indoor_face_lowRatioThre>
  23. <indoor_face_highRatioThre>0.05</indoor_face_highRatioThre>
  24. <outdoor_iso>200</outdoor_iso>
  25. <outdoor_expoTime>20</outdoor_expoTime>
  26. <outdoor_minRevisedBrightness>418.939</outdoor_minRevisedBrightness>
  27. <outdoor_lowExpoRange>10</outdoor_lowExpoRange>
  28. <outdoor_highExpoRange>8</outdoor_highExpoRange>
  29. <outdoor_lowExpoRangeExtended>5</outdoor_lowExpoRangeExtended>
  30. <outdoor_highExpoRangeExtended>5</outdoor_highExpoRangeExtended>
  31. <outdoor_lowRatioThre>0.03</outdoor_lowRatioThre>
  32. <outdoor_highRatioThre>0.03</outdoor_highRatioThre>
  33. <outdoor_face_lowExpoRange>5</outdoor_face_lowExpoRange>
  34. <outdoor_face_highExpoRange>8</outdoor_face_highExpoRange>
  35. <outdoor_face_lowExpoRangeExtended>5</outdoor_face_lowExpoRangeExtended>
  36. <outdoor_face_highExpoRangeExtended>5</outdoor_face_highExpoRangeExtended>
  37. <outdoor_face_lowRatioThre>0.05</outdoor_face_lowRatioThre>
  38. <outdoor_face_highRatioThre>0.05</outdoor_face_highRatioThre>
  39. <night_iso>100</night_iso>
  40. <night_expoTime>10</night_expoTime>
  41. <night_maxRevisedBrightness>3</night_maxRevisedBrightness>
  42. <night_lowExpoRange>10</night_lowExpoRange>
  43. <night_highExpoRange>8</night_highExpoRange>
  44. <night_lowExpoRangeExtended>5</night_lowExpoRangeExtended>
  45. <night_highExpoRangeExtended>5</night_highExpoRangeExtended>
  46. <night_lowRatioThre>0.03</night_lowRatioThre>
  47. <night_highRatioThre>0.03</night_highRatioThre>
  48. <night_face_lowExpoRange>5</night_face_lowExpoRange>
  49. <night_face_highExpoRange>8</night_face_highExpoRange>
  50. <night_face_lowExpoRangeExtended>5</night_face_lowExpoRangeExtended>
  51. <night_face_highExpoRangeExtended>5</night_face_highExpoRangeExtended>
  52. <night_face_lowRatioThre>0.05</night_face_lowRatioThre>
  53. <night_face_highRatioThre>0.05</night_face_highRatioThre>
  54. <default_lowExpoRange>10</default_lowExpoRange>
  55. <default_highExpoRange>8</default_highExpoRange>
  56. <default_lowExpoRangeExtended>5</default_lowExpoRangeExtended>
  57. <default_highExpoRangeExtended>5</default_highExpoRangeExtended>
  58. <default_lowRatioThre>0.03</default_lowRatioThre>
  59. <default_highRatioThre>0.03</default_highRatioThre>
  60. <touch_lowExpoRange>10</touch_lowExpoRange>
  61. <touch_highExpoRange>8</touch_highExpoRange>
  62. <touch_lowExpoRangeExtended>5</touch_lowExpoRangeExtended>
  63. <touch_highExpoRangeExtended>5</touch_highExpoRangeExtended>
  64. <touch_lowRatioThre>0.03</touch_lowRatioThre>
  65. <touch_highRatioThre>0.03</touch_highRatioThre>
  66. </hdr>
  67. <!--add by fengchaoyu for motion detection -->
  68. <motion>
  69. <motion_frameDiffThre>17.85</motion_frameDiffThre>
  70. <motion_blockWidth>32</motion_blockWidth>
  71. <motion_blockHeight>32</motion_blockHeight>
  72. <motion_judgeMove>0.015</motion_judgeMove>
  73. <motion_frameGap1>1</motion_frameGap1>
  74. <motion_frameGap2>1</motion_frameGap2>
  75. <motion_roiWidRate>1</motion_roiWidRate>
  76. <motion_roiHeiRate>1</motion_roiHeiRate>
  77. <motion_downsample>4</motion_downsample>
  78. <motion_startIndex>7</motion_startIndex>
  79. <motion_indoorExpoTime>40</motion_indoorExpoTime>
  80. <motion_threStaGap>50.0</motion_threStaGap>
  81. <motion_threEndGap>220.0</motion_threEndGap>
  82. <motion_threFirStage>30.0</motion_threFirStage>
  83. <motion_threSecStageK>0.2</motion_threSecStageK>
  84. <motion_threThirStage>20.0</motion_threThirStage>
  85. <motion_faceLeftXThre>40</motion_faceLeftXThre>
  86. <motion_faceTopYThre>40</motion_faceTopYThre>
  87. <motion_faceRollThre>20</motion_faceRollThre>
  88. <motion_facePitchThre>20</motion_facePitchThre>
  89. <motion_faceYawThre>30</motion_faceYawThre>
  90. <motion_faceSizeThre>40</motion_faceSizeThre>
  91. </motion>
  92. <!--add by fengchaoyu for wideangle recommend-->
  93. <wideangle>
  94. <wideangle_horizontal>180</wideangle_horizontal>
  95. <wideangle_horiThre>10</wideangle_horiThre>
  96. <wideangle_vertical>270</wideangle_vertical>
  97. <wideangle_vertiThre>10</wideangle_vertiThre>
  98. <wideangle_minFaceNum>3</wideangle_minFaceNum>
  99. <wideangle_faceDisRatio>2.0</wideangle_faceDisRatio>
  100. <wideangle_faceSizeRatio>0.5</wideangle_faceSizeRatio>
  101. <wideangle_edgeDisRatio>0.1</wideangle_edgeDisRatio>
  102. </wideangle>
  103. <!--add by gongqiang for nightView recommend-->
  104. <nightview>
  105. <nightview_lowthresh>50</nightview_lowthresh>
  106. <nightview_highthresh>150</nightview_highthresh>
  107. <nightview_lowratio>0.8</nightview_lowratio>
  108. <nightview_highratio>0.3</nightview_highratio>
  109. </nightview>
  110. <dxo_nightview_0 feature="1X_auto_default" enable="true">
  111. <dxo_nightview_light>20.0</dxo_nightview_light>
  112. <dxo_nightview_bright_ratio_thresh>0.006</dxo_nightview_bright_ratio_thresh>
  113. <dxo_nightview_dark_ratio_thresh>0.27</dxo_nightview_dark_ratio_thresh>
  114. <dxo_lux_index_thresh>270</dxo_lux_index_thresh>
  115. <dxo_middle_ratio_thresh>0.7</dxo_middle_ratio_thresh>
  116. <dxo_lux_index_thresh_face>270</dxo_lux_index_thresh_face>
  117. <dxo_nightview_light_face>21</dxo_nightview_light_face>
  118. <dxo_nightview_dark_ratio_thresh_face>0.1</dxo_nightview_dark_ratio_thresh_face>
  119. <dxo_nightview_middle_ratio_thresh_face>0.61</dxo_nightview_middle_ratio_thresh_face>
  120. <dxo_nightview_bright_ratio_thresh_face>0.003</dxo_nightview_bright_ratio_thresh_face>
  121. <dxo_nightview_extreme_dark_lux>370.0</dxo_nightview_extreme_dark_lux>
  122. </dxo_nightview_0>
  123. <dxo_nightview_1 feature="1X_auto2" enable="false">
  124. <dxo_nightview_light>15.0</dxo_nightview_light>
  125. <dxo_nightview_bright_ratio_thresh>0.003</dxo_nightview_bright_ratio_thresh>
  126. <dxo_nightview_dark_ratio_thresh>0.17</dxo_nightview_dark_ratio_thresh>
  127. <dxo_lux_index_thresh>310</dxo_lux_index_thresh>
  128. <dxo_middle_ratio_thresh>0.58</dxo_middle_ratio_thresh>
  129. <dxo_lux_index_thresh_face>390</dxo_lux_index_thresh_face>
  130. <dxo_nightview_light_face>12.0</dxo_nightview_light_face>
  131. <dxo_nightview_dark_ratio_thresh_face>0.18</dxo_nightview_dark_ratio_thresh_face>
  132. <dxo_nightview_middle_ratio_thresh_face>0.57</dxo_nightview_middle_ratio_thresh_face>
  133. <dxo_nightview_bright_ratio_thresh_face>0.003</dxo_nightview_bright_ratio_thresh_face>
  134. <dxo_nightview_extreme_dark_lux>470.0</dxo_nightview_extreme_dark_lux>
  135. </dxo_nightview_1>
  136. <dxo_nightview_2 feature="0.6X" enable="true">
  137. <dxo_nightview_light>16.0</dxo_nightview_light>
  138. <dxo_nightview_bright_ratio_thresh>0.004</dxo_nightview_bright_ratio_thresh>
  139. <dxo_nightview_dark_ratio_thresh>0.2</dxo_nightview_dark_ratio_thresh>
  140. <dxo_lux_index_thresh>310</dxo_lux_index_thresh>
  141. <dxo_middle_ratio_thresh>0.6</dxo_middle_ratio_thresh>
  142. <dxo_lux_index_thresh_face>366.0</dxo_lux_index_thresh_face>
  143. <dxo_nightview_light_face>10.0</dxo_nightview_light_face>
  144. <dxo_nightview_dark_ratio_thresh_face>0.18</dxo_nightview_dark_ratio_thresh_face>
  145. <dxo_nightview_middle_ratio_thresh_face>0.5</dxo_nightview_middle_ratio_thresh_face>
  146. <dxo_nightview_bright_ratio_thresh_face>0.006</dxo_nightview_bright_ratio_thresh_face>
  147. <dxo_nightview_extreme_dark_lux>409.0</dxo_nightview_extreme_dark_lux>
  148. </dxo_nightview_2>
  149. <dxo_nightview_3 feature="5X" enable="true">
  150. <dxo_nightview_light>12.0</dxo_nightview_light>
  151. <dxo_nightview_bright_ratio_thresh>0.005</dxo_nightview_bright_ratio_thresh>
  152. <dxo_nightview_dark_ratio_thresh>0.2</dxo_nightview_dark_ratio_thresh>
  153. <dxo_lux_index_thresh>300</dxo_lux_index_thresh>
  154. <dxo_middle_ratio_thresh>0.6</dxo_middle_ratio_thresh>
  155. <dxo_lux_index_thresh_face>400.0</dxo_lux_index_thresh_face>
  156. <dxo_nightview_light_face>10.0</dxo_nightview_light_face>
  157. <dxo_nightview_dark_ratio_thresh_face>0.18</dxo_nightview_dark_ratio_thresh_face>
  158. <dxo_nightview_middle_ratio_thresh_face>0.5</dxo_nightview_middle_ratio_thresh_face>
  159. <dxo_nightview_bright_ratio_thresh_face>0.008</dxo_nightview_bright_ratio_thresh_face>
  160. <dxo_nightview_extreme_dark_lux>445.0</dxo_nightview_extreme_dark_lux>
  161. </dxo_nightview_3>
  162. <dxo_nightview_4 feature="bokeh_1X" enable="true">
  163. <dxo_nightview_light>20.0</dxo_nightview_light>
  164. <dxo_nightview_bright_ratio_thresh>0.006</dxo_nightview_bright_ratio_thresh>
  165. <dxo_nightview_dark_ratio_thresh>0.17</dxo_nightview_dark_ratio_thresh>
  166. <dxo_lux_index_thresh>270</dxo_lux_index_thresh>
  167. <dxo_middle_ratio_thresh>0.7</dxo_middle_ratio_thresh>
  168. <dxo_lux_index_thresh_face>270</dxo_lux_index_thresh_face>
  169. <dxo_nightview_light_face>21</dxo_nightview_light_face>
  170. <dxo_nightview_dark_ratio_thresh_face>0.1</dxo_nightview_dark_ratio_thresh_face>
  171. <dxo_nightview_middle_ratio_thresh_face>0.61</dxo_nightview_middle_ratio_thresh_face>
  172. <dxo_nightview_bright_ratio_thresh_face>0.003</dxo_nightview_bright_ratio_thresh_face>
  173. <dxo_nightview_extreme_dark_lux>340.0</dxo_nightview_extreme_dark_lux>
  174. </dxo_nightview_4>
  175. <dxo_nightview_5 feature="bokeh_2X" enable="true">
  176. <dxo_nightview_light>10.0</dxo_nightview_light>
  177. <dxo_nightview_bright_ratio_thresh>0.008</dxo_nightview_bright_ratio_thresh>
  178. <dxo_nightview_dark_ratio_thresh>0.3</dxo_nightview_dark_ratio_thresh>
  179. <dxo_lux_index_thresh>310</dxo_lux_index_thresh>
  180. <dxo_middle_ratio_thresh>0.4</dxo_middle_ratio_thresh>
  181. <dxo_lux_index_thresh_face>400.0</dxo_lux_index_thresh_face>
  182. <dxo_nightview_light_face>10.0</dxo_nightview_light_face>
  183. <dxo_nightview_dark_ratio_thresh_face>0.18</dxo_nightview_dark_ratio_thresh_face>
  184. <dxo_nightview_middle_ratio_thresh_face>0.5</dxo_nightview_middle_ratio_thresh_face>
  185. <dxo_nightview_bright_ratio_thresh_face>0.008</dxo_nightview_bright_ratio_thresh_face>
  186. <dxo_nightview_extreme_dark_lux>390.0</dxo_nightview_extreme_dark_lux>
  187. </dxo_nightview_5>
  188. <dxo_se_default_param>
  189. <dxo_nightview_mlight>80.0</dxo_nightview_mlight>
  190. <dxo_nightview_iso>1000.0</dxo_nightview_iso>
  191. <dxo_nightview_expo_time>20.0</dxo_nightview_expo_time>
  192. <dxo_nightview_bright_thresh>240</dxo_nightview_bright_thresh>
  193. <dxo_nightview_dark_thresh>50</dxo_nightview_dark_thresh>
  194. <dxo_middle_low>80</dxo_middle_low>
  195. <dxo_middle_high>200</dxo_middle_high>
  196. <dxo_nightview_lux_index_margin>0</dxo_nightview_lux_index_margin>
  197. <dxo_nightview_light_margin>2</dxo_nightview_light_margin>
  198. <dxo_nightview_dark_margin>0.04</dxo_nightview_dark_margin>
  199. <dxo_nightview_middle_margin>0.05</dxo_nightview_middle_margin>
  200. <dxo_nightview_bright_margin>0</dxo_nightview_bright_margin>
  201. <dxo_nightview_similar_threshold>0.85</dxo_nightview_similar_threshold>
  202. <dxo_nightview_se_center_meanlight_thresh>60</dxo_nightview_se_center_meanlight_thresh>
  203. <dxo_nightview_se_around_meanlight_thresh>100</dxo_nightview_se_around_meanlight_thresh>
  204. <dxo_nightview_se_center_luxindex_thresh>300</dxo_nightview_se_center_luxindex_thresh>
  205. <dxo_nightview_se_around_luxindex_thresh>400</dxo_nightview_se_around_luxindex_thresh>
  206. <dxo_nightview_se_center_ADRC_thresh>1</dxo_nightview_se_center_ADRC_thresh>
  207. <dxo_nightview_se_around_ADRC_thresh>2</dxo_nightview_se_around_ADRC_thresh>
  208. </dxo_se_default_param>
  209. <hdr_face>
  210. <hdr_bright_thresh>240</hdr_bright_thresh>
  211. <hdr_bright_ratio>0.008</hdr_bright_ratio>
  212. <face_brightness_thresh>200</face_brightness_thresh>
  213. <hdr_light_thresh>10</hdr_light_thresh>
  214. </hdr_face>
  215. <image_motion>
  216. <velocity_thresh>0.1</velocity_thresh>
  217. <percentage_thresh>0.2</percentage_thresh>
  218. <velocity_slow_thresh>24.0</velocity_slow_thresh>
  219. <velocity_middle_thresh>80.0</velocity_middle_thresh>
  220. <velocity_fast_thresh>180.0</velocity_fast_thresh>
  221. <velocity_downsample_factor>8</velocity_downsample_factor>
  222. <velocity_max_ratio>0.021</velocity_max_ratio>
  223. <velocity_weight_block_inside>0.25</velocity_weight_block_inside>
  224. <velocity_weight_block_middle>0.125</velocity_weight_block_middle>
  225. <velocity_gaus_kernel_sigma>0.4</velocity_gaus_kernel_sigma>
  226. </image_motion>
  227. <tripod_pattern>
  228. <tripod_enter_threshold>0.008</tripod_enter_threshold>
  229. <tripod_quit_threshold>0.48</tripod_quit_threshold>
  230. <tripod_wait_frames>27</tripod_wait_frames>
  231. <tripod_enter_frames>14</tripod_enter_frames>
  232. </tripod_pattern>
  233. <ell_mode>
  234. <ell_lux_index_thres>500</ell_lux_index_thres>
  235. <ell_light_thres>10</ell_light_thres>
  236. <ell_bright_ratio_thres>0.01</ell_bright_ratio_thres>
  237. <ell_middle_ratio_thres>0.4</ell_middle_ratio_thres>
  238. <ell_lux_index_margin>5</ell_lux_index_margin>
  239. <ell_light_margin>0.006</ell_light_margin>
  240. <ell_similar_hist_thres>0.85</ell_similar_hist_thres>
  241. <ell_bright_thres>240</ell_bright_thres>
  242. <ell_over_exp_ratio_thres>0.0137</ell_over_exp_ratio_thres>
  243. </ell_mode>
  244. </sceneDetection>