[to #42322933]cv/video_summarization fix a code bug

修复一行错误代码
        Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10477534

    * fix a code bug
This commit is contained in:
james.wjg
2022-10-20 21:13:19 +08:00
committed by yingda.chen
parent 9842a427ef
commit c582b19115

View File

@@ -161,7 +161,7 @@ def summary_format(summary, fps):
is_summary_frame = False
if is_summary_frame and summary[-1] == 1:
end_frame = len(frame_idxes) - 1
end_frame = len(summary) - 1
frames_list.append([start_frame, end_frame])
output = []