mirror of
https://github.com/gaomingqi/Track-Anything.git
synced 2025-12-16 16:37:58 +01:00
update return note
This commit is contained in:
2
app.py
2
app.py
@@ -31,7 +31,7 @@ def get_frames_from_video(video_input, play_state):
|
|||||||
video_path:str
|
video_path:str
|
||||||
timestamp:float64
|
timestamp:float64
|
||||||
Return
|
Return
|
||||||
[[0:nearest_frame-1], [nearest_frame+1], nearest_frame]
|
[[0:nearest_frame], [nearest_frame:], nearest_frame]
|
||||||
"""
|
"""
|
||||||
video_path = video_input
|
video_path = video_input
|
||||||
timestamp = play_state[1] - play_state[0]
|
timestamp = play_state[1] - play_state[0]
|
||||||
|
|||||||
Reference in New Issue
Block a user