summaryrefslogtreecommitdiff
path: root/bjoern/videoanalyse
diff options
context:
space:
mode:
authorNiclas Dobbertin <niclas.dobbertin@stud.tu-darmstadt.de>2023-09-14 19:31:17 +0200
committerNiclas Dobbertin <niclas.dobbertin@stud.tu-darmstadt.de>2023-09-14 19:31:17 +0200
commit1cbb572392d76bf6a7d6308c1d1ce2e366920741 (patch)
tree260fbabd6c5d3edc148e9d3927540764943db9b3 /bjoern/videoanalyse
parentef5ff235f5379d66e68550db583cdef9540343b3 (diff)
quick hack to align times better
Diffstat (limited to 'bjoern/videoanalyse')
-rw-r--r--bjoern/videoanalyse/combine_ocr-logs.py2
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")