.xml代码如下
<?xml version="1.0" encoding="UTF-8"
?>
- <dataset name="Walk2">
- <frame number="0">
- <objectlist>
- <object id="0">
<orientation>3</orientation>
<box h="19" w="46" xc="199" yc="224" />
<appearance>appear</appearance>
- <hypothesislist>
- <hypothesis evaluation="1.0" id="1" prev="0.0">
<movement
evaluation="1.0">walking</movement>
<role
evaluation="1.0">walker</role>
<context
evaluation="1.0">walking</context>
<situation
evaluation="1.0">moving</situation>
</hypothesis>
</hypothesislist>
</object>
- <object id="1">
<orientation>143</orientation>
<box h="29" w="36" xc="101" yc="70" />
<appearance>appear</appearance>
- <hypothesislist>
- <hypothesis evaluation="1.0" id="1" prev="0.0">
<movement
evaluation="1.0">walking</movement>
<role
evaluation="1.0">walker</role>
<context
evaluation="1.0">immobile</context>
<situation
evaluation="1.0">moving</situation>
</hypothesis>
</hypothesislist>
</object>
在matlab环境下读取 box中那四个数据