diff options
Diffstat (limited to 'bjoern/videoanalyse')
-rw-r--r-- | bjoern/videoanalyse/combine_ocr-logs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bjoern/videoanalyse/combine_ocr-logs.py b/bjoern/videoanalyse/combine_ocr-logs.py index 76c59ed..1d99629 100644 --- a/bjoern/videoanalyse/combine_ocr-logs.py +++ b/bjoern/videoanalyse/combine_ocr-logs.py @@ -24,7 +24,7 @@ print(video_date) # video_delta = timedelta(hours=video_date.hour, minutes=video_date.minute, seconds=video_date.second) def add_video_time_to_start(x, video_date): - start = timedelta(seconds=int(x)) + start = timedelta(seconds=int(round(x))) return (start + video_date).time().isoformat() analysis = pd.read_csv(vp_path / "analysis_results.csv") |