示例#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
文件: dendo.py 项目: StevenLOL/pimpy
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")