Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepLabCut/DeepLabCut
/ reset
Method
reset
deeplabcut/utils/auxfun_videos.py:123–124 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
121
self.video.set(cv2.CAP_PROP_POS_FRAMES, ind)
122
123
def
reset(self):
124
self.set_to_frame(0)
125
126
def
read_frame(self, shrink=1, crop=False):
127
success, frame = self.video.read()
Callers
1
test_reader_set_frame
Function · 0.45
Calls
1
set_to_frame
Method · 0.95
Tested by
1
test_reader_set_frame
Function · 0.36