Skip to content

Commit

Permalink
new updates
Browse files Browse the repository at this point in the history
  • Loading branch information
mahithapen committed Dec 3, 2023
1 parent 6decc76 commit 8a3d079
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/processrunner.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,10 @@ def run_courtline_detect(self):
self.run_video_render(homography)

def get_res(self):
return format.results(self.state)
formatted_results = format.results(self.state)
with open("results.txt", "w") as file:
file.write(formatted_results)
return formatted_results

def run_video_render(self, homography):
"""Runs video rendering and reencodes, stores to output_video_path_reenc."""
Expand Down

0 comments on commit 8a3d079

Please sign in to comment.