EasyCV  0.9.36
Easy! Computer Vision
Functions | Variables
shotboundary Namespace Reference

Functions

def matchFun
 

Variables

tuple corpus = easy.openCorpus( "corpus/PascalVOC2012.properties" )
 
tuple shots_truth = easy.createRunSet( categories['shot boundary'], "pos" )
 
tuple shots_test = easy.removeLabels( shots_truth )
 
tuple sbd = easy.getDetector( "SBD_Detector:default -p 10198" )
 
string shotModel = "detectors/SBDdefaultModel.zip"
 
tuple shots_result = easy.detect( sbd, shotModel, shots_test )
 
tuple confmat
 

Detailed Description

Easy!  mini tutorial
Evaluate the accuracy of a shot boundary detector
matz 8/2014

Function Documentation

def shotboundary.matchFun (   truth,
  evaluate 
)

Variable Documentation

tuple shotboundary.confmat
Initial value:
1 = easy.getConfusionMatrix( shots_truth, shots_result,\
2  match=matchFun )
tuple shotboundary.corpus = easy.openCorpus( "corpus/PascalVOC2012.properties" )
tuple shotboundary.sbd = easy.getDetector( "SBD_Detector:default -p 10198" )
string shotboundary.shotModel = "detectors/SBDdefaultModel.zip"
tuple shotboundary.shots_result = easy.detect( sbd, shotModel, shots_test )
tuple shotboundary.shots_test = easy.removeLabels( shots_truth )
tuple shotboundary.shots_truth = easy.createRunSet( categories['shot boundary'], "pos" )