Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bob
bob.bio.video
Commits
f1a31614
Commit
f1a31614
authored
Jun 19, 2015
by
Manuel Günther
Browse files
Fixed interger division for py3
parent
60807d96
Changes
1
Hide whitespace changes
Inline
Side-by-side
bob/bio/video/utils/FrameSelector.py
View file @
f1a31614
...
...
@@ -59,7 +59,7 @@ class FrameSelector:
# get frames lineraly spread over all frames
indices
=
bob
.
bio
.
base
.
selected_indices
(
count
,
self
.
max_frames
)
elif
self
.
selection
==
'step'
:
indices
=
range
(
self
.
step
/
2
,
count
,
self
.
step
)[:
self
.
max_frames
]
indices
=
range
(
self
.
step
/
/
2
,
count
,
self
.
step
)[:
self
.
max_frames
]
elif
self
.
selection
==
'all'
:
indices
=
range
(
0
,
count
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment