Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.pad.face
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
bob
bob.pad.face
Commits
7c7537e5
Commit
7c7537e5
authored
7 years ago
by
Olegs NIKISINS
Browse files
Options
Downloads
Patches
Plain Diff
Added entry points for VideoHistOfSparseCodes extractor
parent
1d8f2077
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!15
Docs on Anomaly detection based PAD using Aggregated Db + Sparse coding stuff
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
bob/pad/face/config/extractor/video_hist_of_sparse_codes.py
+16
-0
16 additions, 0 deletions
bob/pad/face/config/extractor/video_hist_of_sparse_codes.py
bob/pad/face/extractor/__init__.py
+2
-0
2 additions, 0 deletions
bob/pad/face/extractor/__init__.py
setup.py
+5
-1
5 additions, 1 deletion
setup.py
with
23 additions
and
1 deletion
bob/pad/face/config/extractor/video_hist_of_sparse_codes.py
0 → 100644
+
16
−
0
View file @
7c7537e5
#!/usr/bin/env python
from
bob.pad.face.extractor
import
VideoHistOfSparseCodes
#=======================================================================================
# Define instances here:
METHOD
=
"
mean
"
extractor_mean
=
VideoHistOfSparseCodes
(
method
=
METHOD
)
METHOD
=
"
hist
"
extractor_hist
=
VideoHistOfSparseCodes
(
method
=
METHOD
)
This diff is collapsed.
Click to expand it.
bob/pad/face/extractor/__init__.py
+
2
−
0
View file @
7c7537e5
...
@@ -4,6 +4,7 @@ from .ImageQualityMeasure import ImageQualityMeasure
...
@@ -4,6 +4,7 @@ from .ImageQualityMeasure import ImageQualityMeasure
from
.VideoDataLoader
import
VideoDataLoader
from
.VideoDataLoader
import
VideoDataLoader
from
.VideoQualityMeasure
import
VideoQualityMeasure
from
.VideoQualityMeasure
import
VideoQualityMeasure
from
.FrameDiffFeatures
import
FrameDiffFeatures
from
.FrameDiffFeatures
import
FrameDiffFeatures
from
.VideoHistOfSparseCodes
import
VideoHistOfSparseCodes
def
__appropriate__
(
*
args
):
def
__appropriate__
(
*
args
):
"""
Says object was actually declared here, and not in the import module.
"""
Says object was actually declared here, and not in the import module.
...
@@ -30,5 +31,6 @@ __appropriate__(
...
@@ -30,5 +31,6 @@ __appropriate__(
VideoQualityMeasure
,
VideoQualityMeasure
,
VideoDataLoader
,
VideoDataLoader
,
FrameDiffFeatures
,
FrameDiffFeatures
,
VideoHistOfSparseCodes
,
)
)
__all__
=
[
_
for
_
in
dir
()
if
not
_
.
startswith
(
'
_
'
)]
__all__
=
[
_
for
_
in
dir
()
if
not
_
.
startswith
(
'
_
'
)]
This diff is collapsed.
Click to expand it.
setup.py
+
5
−
1
View file @
7c7537e5
...
@@ -108,11 +108,15 @@ setup(
...
@@ -108,11 +108,15 @@ setup(
'
sparse-coding-preprocessor = bob.pad.face.config.preprocessor.video_sparse_coding:preprocessor
'
,
'
sparse-coding-preprocessor = bob.pad.face.config.preprocessor.video_sparse_coding:preprocessor
'
,
],
],
# registered
preprocess
ors:
# registered
extract
ors:
'
bob.pad.extractor
'
:
[
'
bob.pad.extractor
'
:
[
'
video-lbp-histogram-extractor-n8r1-uniform = bob.pad.face.config.extractor.video_lbp_histogram:video_lbp_histogram_extractor_n8r1_uniform
'
,
'
video-lbp-histogram-extractor-n8r1-uniform = bob.pad.face.config.extractor.video_lbp_histogram:video_lbp_histogram_extractor_n8r1_uniform
'
,
'
video-quality-measure-galbally-msu = bob.pad.face.config.extractor.video_quality_measure:video_quality_measure_galbally_msu
'
,
'
video-quality-measure-galbally-msu = bob.pad.face.config.extractor.video_quality_measure:video_quality_measure_galbally_msu
'
,
'
frame-diff-feat-extr-w20-over0 = bob.pad.face.config.extractor.frame_diff_features:frame_diff_feat_extr_w20_over0
'
,
'
frame-diff-feat-extr-w20-over0 = bob.pad.face.config.extractor.frame_diff_features:frame_diff_feat_extr_w20_over0
'
,
# extractors for sparse coding:
'
hist-of-sparse-codes-mean = bob.pad.face.config.extractor.video_hist_of_sparse_codes:extractor_mean
'
,
'
hist-of-sparse-codes-hist = bob.pad.face.config.extractor.video_hist_of_sparse_codes:extractor_hist
'
,
],
],
# registered algorithms:
# registered algorithms:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment