Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Lucas Miranda
deepOF
Commits
4ef180c8
Commit
4ef180c8
authored
Feb 01, 2021
by
lucas_miranda
Browse files
Implementation of elliptic recognition (for videos with tilted cameras)
parent
dff2b7d1
Pipeline
#92572
passed with stage
in 22 minutes and 47 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
deepof/data.py
View file @
4ef180c8
...
...
@@ -687,7 +687,7 @@ class coordinates:
# noinspection PyDefaultArgument
def
rule_based_annotation
(
self
,
h
params
:
Dict
=
{},
params
:
Dict
=
{},
video_output
:
bool
=
False
,
frame_limit
:
int
=
np
.
inf
,
debug
:
bool
=
False
,
...
...
@@ -714,7 +714,7 @@ class coordinates:
arena_type
=
self
.
_arena
,
recog_limit
=
1
,
path
=
os
.
path
.
join
(
self
.
_path
,
"Videos"
),
hparams
=
h
params
,
hparams
=
params
,
)
if
video_output
:
# pragma: no cover
...
...
@@ -732,7 +732,7 @@ class coordinates:
frame_limit
=
frame_limit
,
recog_limit
=
1
,
path
=
os
.
path
.
join
(
self
.
_path
,
"Videos"
),
hparams
=
h
params
,
hparams
=
params
,
)
pbar
.
update
(
1
)
...
...
examples/main.ipynb
View file @
4ef180c8
This source diff could not be displayed because it is too large. You can
view the blob
instead.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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