Ask Your Question
0

Issue to load generated cascade.xml [closed]

asked 2016-10-18 06:04:10 -0600

updated 2018-02-04 11:13:18 -0600

<?xml version="1.0"?>
<opencv_storage>
<cascade>
  <stageType>BOOST</stageType>
  <featureType>HAAR</featureType>
  <height>70</height>
  <width>50</width>
  <stageParams>
    <boostType>GAB</boostType>
    <minHitRate>9.9900001287460327e-001</minHitRate>
    <maxFalseAlarm>5.0000000000000000e-001</maxFalseAlarm>
    <weightTrimRate>9.4999999999999996e-001</weightTrimRate>
    <maxDepth>1</maxDepth>
    <maxWeakCount>100</maxWeakCount></stageParams>
  <featureParams>
    <maxCatCount>0</maxCatCount>
    <featSize>1</featSize>
    <mode>BASIC</mode></featureParams>
  <stageNum>3</stageNum>
  <stages>
    <!-- stage 0 -->
    <_>
      <maxWeakCount>1</maxWeakCount>
      <stageThreshold>1.</stageThreshold>
      <weakClassifiers>
        <_>
          <internalNodes>
            0 -1 0 -2.1743691831943579e-005</internalNodes>
          <leafValues>
            -1. 1.</leafValues></_></weakClassifiers></_>
    <!-- stage 1 -->
    <_>
      <maxWeakCount>1</maxWeakCount>
      <stageThreshold>1.</stageThreshold>
      <weakClassifiers>
        <_>
          <internalNodes>
            0 -1 2 -2.7870906051248312e-003</internalNodes>
          <leafValues>
            -1. 1.</leafValues></_></weakClassifiers></_>
    <!-- stage 2 -->
    <_>
      <maxWeakCount>1</maxWeakCount>
      <stageThreshold>1.</stageThreshold>
      <weakClassifiers>
        <_>
          <internalNodes>
            0 -1 1 8.9884233602788299e-006</internalNodes>
          <leafValues>
            1. -1.</leafValues></_></weakClassifiers></_></stages>
  <features>
    <_>
      <rects>
        <_>
          0 0 2 1 -1.</_>
        <_>
          1 0 1 1 2.</_></rects>
      <tilted>0</tilted></_>
    <_>
      <rects>
        <_>
          0 0 1 6 -1.</_>
        <_>
          0 3 1 3 2.</_></rects>
      <tilted>0</tilted></_>
    <_>
      <rects>
        <_>
          0 0 2 56 -1.</_>
        <_>
          0 0 1 28 2.</_>
        <_>
          1 28 1 28 2.</_></rects>
      <tilted>0</tilted></_></features></cascade>
</opencv_storage>
edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by bhinder
close date 2016-11-03 00:46:55.508284

Comments

what's your question??

hoangnh gravatar imagehoangnh ( 2016-10-18 07:57:08 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-11-03 00:46:31 -0600

Now its done. I have changed openCV version from 2.4.13 to 3.1.0 with particular changes to bat file too.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2016-10-18 06:00:03 -0600

Seen: 147 times

Last updated: Nov 03 '16