Пример #1
0
 def test_dendogram(self):
     gc = gistClustering()
     clust = gc.getcluster(self.video)
     dd = VideoDendogram(gc,self.video)
     dd.drawdendogram("/tmp/test.svg") 
Пример #2
0
from pimpy.video.video import Video
from pimpy.video.cluster import *
from pimpy.video.dendogram import VideoDendogram
from tests.multimedia_data import multimediaData as md


uri = md().video_uri
v = Video(uri)
gc = gistClustering()
gc.getcluster(v,smoothbyhisto=True)

dd = VideoDendogram(gc,v)
dd.drawdendogram("gistclust_smooth.svg")