Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
ROS_human_detection
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
mobile_robotics
raadical_project
ROS_human_detection
Commits
a2e788e2
Commit
a2e788e2
authored
4 years ago
by
Eetu Silvennoinen
Browse files
Options
Downloads
Patches
Plain Diff
Edit path to pwd
parent
4d93d440
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
human_detection/src/webcam.py
+2
-2
2 additions, 2 deletions
human_detection/src/webcam.py
with
2 additions
and
2 deletions
human_detection/src/webcam.py
+
2
−
2
View file @
a2e788e2
...
@@ -6,7 +6,7 @@ import rospy
...
@@ -6,7 +6,7 @@ import rospy
import
numpy
as
np
import
numpy
as
np
import
tensorflow
as
tf
import
tensorflow
as
tf
sys
.
path
.
append
(
'
/home/jerry/Documents/workspaces/human_detection/src/ROS_human_detection/human_detection/src
'
)
sys
.
path
.
append
(
os
.
getcwd
()
)
# For performance analysis timing, import time.
# For performance analysis timing, import time.
# from analysis_tools.data_grapher import *
# from analysis_tools.data_grapher import *
...
@@ -20,7 +20,7 @@ from object_detection.utils import label_map_util
...
@@ -20,7 +20,7 @@ from object_detection.utils import label_map_util
from
object_detection.utils
import
visualization_utils
as
vis_util
from
object_detection.utils
import
visualization_utils
as
vis_util
# Defining Paths
# Defining Paths
CWD_PATH
=
'
/home/jerry/Documents/workspaces/human_detection/src/ROS_human_detection/human_detection/src
'
CWD_PATH
=
os
.
getcwd
()
LABEL_MAPS
=
[
'
human_label_map.pbtxt
'
,
'
mscoco_label_map.pbtxt
'
]
LABEL_MAPS
=
[
'
human_label_map.pbtxt
'
,
'
mscoco_label_map.pbtxt
'
]
MODEL_NAME
=
'
ssd_mobilenet_v1_coco_2017_11_17
'
MODEL_NAME
=
'
ssd_mobilenet_v1_coco_2017_11_17
'
PATH_TO_CKPT
=
os
.
path
.
join
(
CWD_PATH
,
MODEL_NAME
,
'
frozen_inference_graph.pb
'
)
PATH_TO_CKPT
=
os
.
path
.
join
(
CWD_PATH
,
MODEL_NAME
,
'
frozen_inference_graph.pb
'
)
...
...
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