Codebase


        



code/


batchprocess( mainDir ,outDir, createVid, overwriteP1, overwriteP2, overwriteP3, seed, emailAddress, emailPass)

mainDir: Location of the main dir which contains directories containing sample videos.
outDir: Location where the processed data will be moved after successful processing.
createVid: Boolean flag to denote if videos of intermediate steps should be created.
overwriteP1: Boolean flag to denote if phase 1 should skipped if phase 1 data was previously created already.
overwriteP2: Boolean flag to denote if phase 2 should skipped if phase 1 data was previously created already.
overwriteP3: Boolean flag to denote if phase 3 should skipped if phase 1 data was previously created already.
seed: A number to generate new sample names after processing.
emailAddress: email address from where an email will be sent.
emailPass: passwords of email address.

process( fileName, ext ,PRINT_VID, numOfClusters,overwriteP1, overwriteP2, overwriteP3)

fileName: filename of the video to be processed.
ext: file extention of the video to be processed.
PRINT_VID: Boolean flag to denote if videos of intermediate steps should be created.
numOfClusters: number of clusters (k) to be used in k-mean clustering.
overwriteP1: Boolean flag to denote if phase 1 should skipped if phase 1 data was previously created already.
overwriteP2: Boolean flag to denote if phase 2 should skipped if phase 1 data was previously created already.
overwriteP3: Boolean flag to denote if phase 3 should skipped if phase 1 data was previously created already.

code/ML


extractFeatures( mainDir )


analyzeOne( base_dir )


[ featureVector, hogVisualization ] = getHOGFeatures( img, s )


consolidateData( mainDir )


classify( mainDir, trainNum)


classifyOffWithDef()


stratifiedOffWithDef()

code/phase1


Code API's will be added here

code/phase2


Code API's will be added here

code/phase3


Code API's will be added here

code/display


Code API's will be added here

code/helper


Code API's will be added here

code/liblinear


Code API's will be added here

code/sort


Code API's will be added here

code/util


Code API's will be added here