Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
wolf_scripts
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
wolf_projects
wolf_scripts
Commits
6c45c5a9
Commit
6c45c5a9
authored
2 years ago
by
Joan Vallvé Navarro
Browse files
Options
Downloads
Patches
Plain Diff
removed visionutils and opencv via apt
parent
edfed01f
No related branches found
No related tags found
1 merge request
!1
removed visionutils and opencv via apt
Pipeline
#13421
passed
2 years ago
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
install_wolf.sh
+6
-22
6 additions, 22 deletions
install_wolf.sh
with
6 additions
and
22 deletions
install_wolf.sh
+
6
−
22
View file @
6c45c5a9
...
...
@@ -453,30 +453,14 @@ if [ $INSTALL_VISION == "undefined" ]; then
fi
if
[
$INSTALL_VISION
==
"y"
]
;
then
func_echo
"Installing
plugin vision dependencies
..."
func_echo
"Installing
OpenCV (required by vision plugin)
..."
# opencv
cd
$DEPS_PATH
wget https://github.com/opencv/opencv/archive/3.3.0.zip
-O
temp.zip
unzip temp.zip
rm
temp.zip
cd
opencv-3.3.0
git clone
--depth
1
-b
3.3.0 https://github.com/opencv/opencv_contrib.git
mkdir
build
cd
build
sed
-i
's/char\* str = PyString_AsString(obj)/const char\* str = PyString_AsString(obj)/g'
../modules/python/src2/cv2.cpp
cmake
-D
CMAKE_BUILD_TYPE
=
Release
-D
CMAKE_INSTALL_PREFIX
=
/usr/local
-D
CMAKE_CXX_FLAGS
=
"-fPIC -std=c++14"
-D
OPENCV_EXTRA_MODULES_PATH
=
../opencv_contrib/modules
-D
WITH_FFMPEG
=
OFF ..
make
-j
$CORES
func_make_install
# vision_utils
cd
$DEPS_PATH
git clone https://gitlab.iri.upc.edu/labrobotica/algorithms/vision_utils.git
cd
vision_utils
mkdir
-pv
build
&&
cd
build
cmake
-DCMAKE_BUILD_TYPE
=
Release ..
make
-j
$CORES
func_make_install
if
[
"
$UID
"
-eq
0
-o
"
$EUID
"
-eq
0
]
;
then
apt
install
-y
libopencv-dev
else
sudo
apt
install
-y
libopencv-dev
fi
func_echo
"Cloning plugin vision..."
cd
$WOLF_PATH
...
...
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