Skip to content

Commit

Permalink
Remove use of deprecated submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
glopesdev committed Mar 24, 2022
1 parent 41ce4eb commit 0581a6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aeon/preprocess/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,7 @@ def videoframes(data):
index = 0

if frameidx != index:
capture.set(cv2.cv2.CAP_PROP_POS_FRAMES, frameidx)
capture.set(cv2.CAP_PROP_POS_FRAMES, frameidx)
index = frameidx
success, frame = capture.read()
if not success:
Expand Down

0 comments on commit 0581a6d

Please sign in to comment.