Skip to content
Permalink
Browse files

fix(shot-detector): rename shot detector

  • Loading branch information...
numb3r3 committed Oct 17, 2019
1 parent d48eb53 commit a641d5c7dcde55ab2113aaaf17c7aaaaf5ca37c0
@@ -31,7 +31,7 @@
'BaseVideoPreprocessor': 'base',
'FFmpegPreprocessor': 'video.ffmpeg',
'FFmpegVideoSegmentor': 'video.ffmpeg',
'ShotDetectPreprocessor': 'video.shotdetect',
'ShotDetectorPreprocessor': 'video.shot_detector',
'VideoEncoderPreprocessor': 'video.video_encoder',
'VideoDecoderPreprocessor': 'video.video_decoder',
'AudioVanilla': 'audio.audio_vanilla',
@@ -23,7 +23,7 @@
from gnes.preprocessor.helper import compute_descriptor, compare_descriptor, detect_peak_boundary, compare_ecr


class ShotDetectPreprocessor(BaseVideoPreprocessor):
class ShotDetectorPreprocessor(BaseVideoPreprocessor):
store_args_kwargs = True

def __init__(self,
@@ -1,8 +1,10 @@
!ShotDetectPreprocessor
!ShotDetectorPreprocessor
parameters:
descriptor: "canny_edge"
distance_metric: "edge_change_ration"
frame_size: "192:168"
frame_rate: 10
kwargs:
max_shot_num: 5
gnes_config:
is_trained: true
@@ -1,4 +1,4 @@
!ShotDetectPreprocessor
!ShotDetectorPreprocessor
parameters:
descriptor: "block_hsv_histogram"
distance_metric: "bhattacharya"

0 comments on commit a641d5c

Please sign in to comment.
You can’t perform that action at this time.