Here you go B

This commit is contained in:
2022-12-30 13:45:43 -05:00
parent 06c408916d
commit 6b940d812a
8 changed files with 241 additions and 0 deletions

14
video.py Normal file
View File

@@ -0,0 +1,14 @@
from videoprocess import VideoProcess
# Process video using video process class
proc = VideoProcess(path="squat_cut_7.mp4")
# Output tsv for later processing
out = open("out.tsv", "w")
result = True
while result is True:
result = proc.processFrame()
for i in range(len(proc.counts)):
out.write("{}\t{}\t{}\n".format(proc.times[i], proc.counts[i], proc.aveCounts[i]))
out.close()