Create a dataset of videos with annotations

4 次查看(过去 30 天)
I have almost 1400 videos, mostly 2 to 3 mints of lenght , and their labels/annotations in xml file with Metatag markup as shown below ... I want to create a dataset from the this, any help
<?xml version="1.0" encoding="UTF-8"?>
-<RUCoD xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:gml="http://www.opengis.net/gml" xmlns="http://www.isearch-project.eu/isearch/RUCoD" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
-<Header>
<ContentObjectType>Multimedia Collection</ContentObjectType>
<ContentObjectName xml:lang="en-US">Bird</ContentObjectName>
<ContentObjectID>80000000-8000-0000-F000-00008000010E</ContentObjectID>
<ContentObjectVersion>1</ContentObjectVersion>
-<ContentObjectCreationInformation>
-<Creator>
<Name>CoFetch Script</Name>
</Creator>
-<Contributor>
<Name>HS Fulda</Name>
</Contributor>
-<Contributor>
<Name>Google</Name>
</Contributor>
-<Contributor>
<Name>flickr.com</Name>
</Contributor>
-<Contributor>
<Name>wikipedia.org</Name>
</Contributor>
-<Contributor>
<Name>freesound.org</Name>
</Contributor>
-<Contributor>
<Name>wunderground.com</Name>
</Contributor>
-<Contributor>
<Name>youtube.com</Name>
</Contributor>
</ContentObjectCreationInformation>
-<ContentObjectTypes>
-<MultimediaContent type="Object3D">
<FreeText>Txoria txori: Hegoak ebaki banizkio - nerea izango zen, - ez zuen aldegingo. - Bainan, honela - ez zen gehiago txoria izango - eta nik... - txoria nuen maite. -- If i had cut the wings to her - she would have been mine - she would not be flees - but,thus - she would not have been anymore a bird - and me... - it's the bird which i loved -- Si le hubiera cortado las alas - habría sido mío, - no habría escapado. - Pero así, - habría dejado de ser pájaro. - Y yo... - yo lo que amaba era un pájaro. (Mikel Laboa)</FreeText>
<MediaName>Bird</MediaName>
<MetaTag type="xsd:string" name="UserTag">Bird</MetaTag>
-<MediaLocator>
<MediaUri>http://sketchup.google.com/3dwarehouse/download?mid=6810cb0494823d9c5c351e299b24e355&rtyp=zip&fn=bird&ctyp=other&ts=1229964813000&ct=gd</MediaUri>
<MediaPreview>http://sketchup.google.com/3dwarehouse/download?mid=6810cb0494823d9c5c351e299b24e355&rtyp=lt&ctyp=other&ts=1229964813000&ct=gd</MediaPreview>
</MediaLocator>
-<MediaCreationInformation>
-<Author>
<Name>a.j.unknow (http://sketchup.google.com/3dwarehouse/search?uq=0234057225683841535128302&scoring=m&ct=gd)</Name>
</Author>
<Licensing>Google 3D Warehouse License</Licensing>
</MediaCreationInformation>
<Size>493019</Size>
</MultimediaContent>
-<MultimediaContent type="ImageType">
<FreeText>The National Bird and a common favourite, the Robin is easily recognised by most people.<a href="http://www.garden-birds.co.uk/birds/robin.htm" rel="nofollow">www.garden-birds.co.uk/birds/robin.htm</a></FreeText>
<MediaName>British Robin</MediaName>
<FileFormat>image/jpeg</FileFormat>
<MetaTag type="xsd:string" name="UserTag">Chiddingstone</MetaTag>
<MetaTag type="xsd:string" name="UserTag">Kent</MetaTag>
<MetaTag type="xsd:string" name="UserTag">Bird</MetaTag>
<MetaTag type="xsd:string" name="UserTag">Robin</MetaTag>
-<MediaLocator>
<MediaUri>http://farm8.staticflickr.com/7098/6971914526_dfeaf04125_k.jpg</MediaUri>
<MediaPreview>http://farm8.staticflickr.com/7098/6971914526_edf66cc2bd_s.jpg</MediaPreview>
</MediaLocator>
-<MediaCreationInformation>
-<Author>
<Name>Steve Wilson</Name>
</Author>
<Licensing>Attribution-ShareAlike License</Licensing>
</MediaCreationInformation>
<Size>1871463</Size>
</MultimediaContent>
-<MultimediaContent type="VideoType">
<FreeText>Baby robins remain in their nest for about 13 days. Just about every time the nestlings gulp down some food, they poop. Let's see—that's 13 days x 4 babies x 356 insects and worms on average each day. That's a LOT of Poop! How on earth do robins keep their nest clean? Baby robins can't wear diapers of any kind, but they do put their poop in a strong "bag" so the parents can carry it away. This bag is made of thick, strong mucus that a parent robin can pick up in its sharp beak and carry without puncturing, and is called a fecal sac. Fecal sacs are just like disposable diapers for birds! Within seconds of feeding, baby robins back up and poop. This ensures that whichever parent brought the food will still be there to carry away the fecal sac. Source: www.learner.org Camera: SONY® DSC-TX100V, 16MP, 1080p, 30fps. Video Editing: Apple® iMovie® on 27" Quad-Core i7 iMac® Computer. Tripod: UNI-LOC® System Tripod with multiple camera mounting platforms. Monopod: SLIK® Monopod attached to UNI-LOC® mounting platform. (Tripod-Monopod arrangement allowed a 9-foot elevation mount for camera.) Above Video Copyright © 2012 JOHN LOBBAN Creative www.JohnLobban.com — http (Embedding on websites is permitted by author for this video.) Music: www.DanoSongs.com - Royalty Free Music</FreeText>
<MediaName>RED-BREASTED ROBINS — Feeding the baby birds ...and the Scoop on Poop!</MediaName>
<MetaTag type="xsd:string" name="UserTag">Animals</MetaTag>
<MetaTag type="xsd:string" name="UserTag">Bird</MetaTag>
<MetaTag type="xsd:string" name="UserTag">Birds</MetaTag>
<MetaTag type="xsd:string" name="UserTag">Baby Birds</MetaTag>
<MetaTag type="xsd:string" name="UserTag">American Robin</MetaTag>
<MetaTag type="xsd:string" name="UserTag">Red-Breasted Robin</MetaTag>
<MetaTag type="xsd:string" name="UserTag">Nature</MetaTag>
-<MediaLocator>
<MediaUri>https://www.youtube.com/watch?v=gZCgxtcKwG4</MediaUri>
<MediaPreview>http://i.ytimg.com/vi/gZCgxtcKwG4/default.jpg</MediaPreview>
</MediaLocator>
-<MediaCreationInformation>
-<Author>
<Name>IndianaTraveller</Name>
</Author>
<Licensing>All right reserved</Licensing>
</MediaCreationInformation>
<MediaTime>479</MediaTime>
</MultimediaContent>
-<MultimediaContent type="SoundType">
<FreeText>a bird tweet recorded in Edinburgh's botanic gardens</FreeText>
<MediaName>bird tweet.aif</MediaName>
<MetaTag type="xsd:string" name="UserTag">Robin</MetaTag>
<MetaTag type="xsd:string" name="UserTag">Nature</MetaTag>
<MetaTag type="xsd:string" name="UserTag">Tweet</MetaTag>
<MetaTag type="xsd:string" name="UserTag">Birdsong</MetaTag>
<MetaTag type="xsd:string" name="UserTag">Bird</MetaTag>
<MetaTag type="xsd:string" name="UserTag">Ambient</MetaTag>
<MetaTag type="xsd:string" name="UserTag">Field-recording</MetaTag>
-<MediaLocator>
<MediaUri>http://www.freesound.org/api/sounds/9328/serve/?api_key=e642ab56df1f4cfc87f419fbf9ac5088</MediaUri>
<MediaPreview>http://www.freesound.org/data/displays/9/9328_23035_wave_M.png</MediaPreview>
<MediaPreview format="audio/mpeg">http://vcl.iti.gr/i-search/uc3/media/bird tweet.aif_preview.mp3</MediaPreview>
</MediaLocator>
-<MediaCreationInformation>
-<Author>
<Name>tigersound</Name>
</Author>
<Licensing>CC</Licensing>
</MediaCreationInformation>
<Size>393738</Size>
<MediaTime>3</MediaTime>
</MultimediaContent>
-<RealWorldInfo>
<MetadataUri filetype="rwml">Bird.rwml</MetadataUri>
</RealWorldInfo>
</ContentObjectTypes>
-<Tags>
<MetaTag type="xsd:string" name="UserTag">Bird</MetaTag>
<MetaTag type="xsd:string" name="UserTag">Chiddingstone</MetaTag>
<MetaTag type="xsd:string" name="UserTag">Kent</MetaTag>
<MetaTag type="xsd:string" name="UserTag">Robin</MetaTag>
<MetaTag type="xsd:string" name="UserTag">Animals</MetaTag>
<MetaTag type="xsd:string" name="UserTag">Birds</MetaTag>
<MetaTag type="xsd:string" name="UserTag">Baby Birds</MetaTag>
<MetaTag type="xsd:string" name="UserTag">American Robin</MetaTag>
<MetaTag type="xsd:string" name="UserTag">Red-Breasted Robin</MetaTag>
<MetaTag type="xsd:string" name="UserTag">Nature</MetaTag>
<MetaTag type="xsd:string" name="UserTag">Tweet</MetaTag>
<MetaTag type="xsd:string" name="UserTag">Birdsong</MetaTag>
<MetaTag type="xsd:string" name="UserTag">Ambient</MetaTag>
<MetaTag type="xsd:string" name="UserTag">Field-recording</MetaTag>
<MetaTag type="xsd:string" name="Category">01 Bird</MetaTag>
</Tags>
</Header>
-<Description>
-<L_Descriptor type="ImageType">
<MediaName>British Robin</MediaName>
-<ImageDescription type="SIFT" matching="L2Distance">
-<LowLevelDescriptor descriptorSize="1021" totalNumOfDescriptors="8168" descriptorType="xsd:float">
-<Store type="text">
-<DescriptorLocator>
<DescriptorUri>http://vcl.iti.gr/is/UC/descr/2D/80000000-8000-0000-F000-00008000010E.imgdescr</DescriptorUri>
</DescriptorLocator>
</Store>
</LowLevelDescriptor>
</ImageDescription>
</L_Descriptor>
-<L_Descriptor type="Object3D">
<MediaName>Bird</MediaName>
-<Shape3DDescription type="CMVD" matching="MultiViewL2">
-<LowLevelDescriptor descriptorSize="3816" totalNumOfDescriptors="212" descriptorType="xsd:float" totalNumOfViews="18">
-<Store type="text">
-<DescriptorLocator>
<DescriptorUri>http://vcl.iti.gr/is/UC/descr/3D/80000000-8000-0000-F000-00008000010E.zip.txt</DescriptorUri>
</DescriptorLocator>
</Store>
</LowLevelDescriptor>
</Shape3DDescription>
</L_Descriptor>
-<L_Descriptor type="SoundType">
<MediaName>bird tweet.aif</MediaName>
-<AudioDescription type="BarkBands" matching="BrayCurtis">
-<LowLevelDescriptor descriptorSize="8 27" totalNumOfDescriptors="216" descriptorType="xsd:float">
-<Store type="text">
-<DescriptorLocator>
<DescriptorUri>http://vcl.iti.gr/is/UC/descr/audio/80000000-8000-0000-F000-00008000010E.audiodescr</DescriptorUri>
</DescriptorLocator>
</Store>
</LowLevelDescriptor>
</AudioDescription>
</L_Descriptor>
</Description>
</RUCoD>

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Chemistry 的更多信息

产品


版本

R2018a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by