Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
robot_face_expression
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
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
Antonio Andriella
robot_face_expression
Commits
afae3548
Commit
afae3548
authored
4 years ago
by
pal
Browse files
Options
Downloads
Patches
Plain Diff
Add face path for seneca (need to remove it)
parent
1698f68d
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scripts/Face.py
+2
-2
2 additions, 2 deletions
scripts/Face.py
with
2 additions
and
2 deletions
scripts/Face.py
+
2
−
2
View file @
afae3548
...
@@ -56,9 +56,9 @@ class Face:
...
@@ -56,9 +56,9 @@ class Face:
def
__init__
(
self
):
def
__init__
(
self
):
# determine the path and set the default path place
# determine the path and set the default path place
os
.
chdir
(
r
'
/home/
{}/
pal/cognitive_game_ws/src/robot_facial_expression/scripts
'
.
format
(
getpass
.
getuser
()))
os
.
chdir
(
r
'
/home/pal/cognitive_game_ws/src/robot_facial_expression/scripts
'
.
format
(
getpass
.
getuser
()))
'''
Parts of the face of baxter are defined.
'''
'''
Parts of the face of baxter are defined.
'''
self
.
backgroundImage
=
Image
.
open
(
"
data/baxter_
background.png
"
)
# Background behind the eyes
self
.
backgroundImage
=
Image
.
open
(
"
test/
background.png
"
)
# Background behind the eyes
# Face partions objects
# Face partions objects
self
.
eye
=
Eye
.
Eye
(
"
test/pupil.png
"
)
self
.
eye
=
Eye
.
Eye
(
"
test/pupil.png
"
)
self
.
skin
=
Skin
.
Skin
(
5
)
# range: [0, 5]
self
.
skin
=
Skin
.
Skin
(
5
)
# range: [0, 5]
...
...
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