Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.ip.flandmark
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
Model registry
Operate
Environments
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.ip.flandmark
Commits
c01c3382
Commit
c01c3382
authored
10 years ago
by
André Anjos
Browse files
Options
Downloads
Patches
Plain Diff
Fix Lena plotting
parent
f8662ae4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/plot/show_lena.py
+2
-1
2 additions, 1 deletion
doc/plot/show_lena.py
with
2 additions
and
1 deletion
doc/plot/show_lena.py
+
2
−
1
View file @
c01c3382
...
...
@@ -6,7 +6,8 @@ from xbob.ip.color import rgb_to_gray
def
get_data
(
f
):
from
os.path
import
join
from
pkg_resources
import
resource_filename
from
xbob.io
import
load
from
xbob.io.base
import
load
import
xbob.io.image
return
load
(
resource_filename
(
'
xbob.ip.flandmark
'
,
join
(
'
data
'
,
f
)))
lena
=
get_data
(
'
lena.jpg
'
)
...
...
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