MCPcopy Create free account

hub / github.com/Timaos123/AutoDivideMovie / functions

Functions22 in github.com/Timaos123/AutoDivideMovie

↓ 3 callersMethodbuildCNNSeriesModel
batch_size(default: 50):batch size nb_filters(default: 32):the number of filters img_rows(default: 28 ):the height of matr
tryDPModel.py:59
↓ 2 callersFunctiongetSingleWindowVar
get a window's variance imgList:a window of images
B0_singleVarAna.py:10
↓ 2 callersFunctionisCutPoint
(cmpedArr)
C2_cutMovie.py:12
↓ 1 callersFunctiongetVCItem
(clipIndex,meanPreCutLen)
D1_generalizingClipSeries.py:22
↓ 1 callersFunctionisCutPoint
(cmpedArr)
C1_getClusDiv.py:12
↓ 1 callersFunctionmain
configurate the programme, mainly build and clear data
A0_configuration.py:11
↓ 1 callersFunctionmain
(varSize=50,divideMethod="mean",thresholdAdj=0.1,showFig=False)
C1_getClusDiv.py:18
↓ 1 callersFunctionmain
get data in image frame from the video ---------------------------------------- videoPath: the path of the source video imgPath:
A2_getPicData.py:12
↓ 1 callersFunctionmain
structure the image data into structure of: [[img1,img2,...,imgi-1,imgi+1,...imgn],[imgi]] ----------------------------------------
A4_structureDataStructure.py:23
↓ 1 callersFunctionpaddingSeq
(row,maxLen)
A4_structureDataStructure.py:17
Method__init__
you can design any kinds of model in this class ***note:add <subtitles>*** ===============================================
tryDPModel.py:38
MethodbuildCNNClassifierModel
batch_size(default: 50):batch size nb_classes(default: 10):the number of classes nb_epoch(default: 12):the number of epoch
tryDPModel.py:160
MethodcovLoss
(self,y_true, y_pred)
tryDPModel.py:31
Functionframe2vec
(picPath,)
tryFrame2Vec.py:7
FunctionisCutPoint
(cmpedArr)
D1_generalizingClipSeries.py:16
Functionmain
()
C2_cutMovie.py:18
Functionmain
description of the movie
A1_videoAttributes.py:9
Functionmain
(clusterStarter=2,\ clusterEnder=9,\ clusterStep=2)
C0_clusterModelBuilding.py:18
Functionmain
()
B0_singleVarAna.py:20
Functionmain
search the best window size to define the variance startPoint: the start point to expand the size of the window endPoint: the end poin
B1_integratedVarAna.py:16
Functionmain
zip the image data ---------------------------------------- imgPath: the path of the images to be saved resizedWidth: the width t
A3_zipPicData.py:12
Functionmain
(imgWidth,\ imgHeight,\ kernel_size = (3,3),\ validation_split=0.5,\ e
B2_Frame2VecDPLBuilding.py:16