opencv.xml 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. <?xml version="1.0"?>
  2. <!--
  3. Copyright 2011 The Graphics-Go Authors. All rights reserved.
  4. Use of this source code is governed by a BSD-style
  5. license that can be found in the LICENSE file.
  6. -->
  7. <opencv_storage>
  8. <name_of_cascade type_id="opencv-haar-classifier">
  9. <size>20 20</size>
  10. <stages>
  11. <_>
  12. <!-- stage 0 -->
  13. <trees>
  14. <_>
  15. <!-- tree 0 -->
  16. <_>
  17. <!-- root node -->
  18. <feature>
  19. <rects>
  20. <_>0 0 3 4 -1.</_>
  21. <_>3 4 2 2 3.1</_></rects>
  22. <tilted>0</tilted></feature>
  23. <threshold>0.03</threshold>
  24. <left_val>0.01</left_val>
  25. <right_val>0.8</right_val>
  26. </_>
  27. </_>
  28. <_>
  29. <!-- tree 1 -->
  30. <_>
  31. <!-- root node -->
  32. <feature>
  33. <rects>
  34. <_>3 7 14 4 -3.2</_>
  35. <_>3 9 14 2 2.</_></rects>
  36. <tilted>0</tilted></feature>
  37. <threshold>0.11</threshold>
  38. <left_val>0.03</left_val>
  39. <right_val>0.83</right_val>
  40. </_>
  41. </_>
  42. </trees>
  43. <stage_threshold>0.82</stage_threshold>
  44. <parent>-1</parent>
  45. <next>-1</next>
  46. </_>
  47. <_>
  48. <!-- stage 1 -->
  49. <trees>
  50. <_>
  51. <!-- tree 0 -->
  52. <_>
  53. <!-- root node -->
  54. <feature>
  55. <rects>
  56. <_>1 1 2 2 -1.</_>
  57. <_>3 3 2 2 2.5</_></rects>
  58. <tilted>0</tilted></feature>
  59. <threshold>0.07</threshold>
  60. <left_val>0.2</left_val>
  61. <right_val>0.4</right_val>
  62. </_>
  63. </_>
  64. </trees>
  65. <stage_threshold>0.22</stage_threshold>
  66. <parent>0</parent>
  67. <next>-1</next>
  68. </_>
  69. </stages>
  70. </name_of_cascade>
  71. </opencv_storage>