Merge branch 'master' of github.com:gaomingqi/Track-Anything

This commit is contained in:
memoryunreal
2023-04-14 02:27:50 +00:00
2 changed files with 54 additions and 13 deletions

2
app.py
View File

@@ -81,7 +81,7 @@ def get_frames_from_video(video_input, play_state):
video_path:str
timestamp:float64
Return
[[0:nearest_frame-1], [nearest_frame+1], nearest_frame]
[[0:nearest_frame], [nearest_frame:], nearest_frame]
"""
video_path = video_input
timestamp = play_state[1] - play_state[0]