install ros, python, dlib, other things on ubuntu 16.04

install wireless lan card usb driver

11 git clone https://github.com/gnab/rtl8812au.git
12 cd rtl8812au/
13 ls
14 make
15 sudo make install
16 sudo modprobe 8812au

install ros kinetic on ubuntu 16.04

wget https://raw.githubusercontent.com/oroca/oroca-ros-pkg/kinetic/ros_install.sh && chmod 755 ./ros_install.sh && bash ./ros_install.sh catkin_ws kinetic

install opencv 4.0

sudo trash-put /opt/ros/kinetic/lib/python2.7/dist-packages/cv2.so # 이미 설치가 되있다면, 삭제한다.

easy_install trash-cli

sudo trash-put /opt/ros/kinetic/lib/python2.7/dist-packages/cv2.so

git clone https://github.com/opencv/opencv

git clone https://github.com/opencv/opencv_contrib

sudo apt-get install cmake-gui

check dnn and python, ext

cd build; make; make install; ldconfig

install tensorflow

pip install –user –upgrade tensorflow

install dlib

27 git clone git clone https://github.com/davisking/dlib.git
28 git clone https://github.com/davisking/dlib.git
29 cd dlib
30 mkdir build; cd build; cmake .. -DDLIB_USE_CUDA=0 -DUSE_AVX_INSTRUCTIONS=1; cmake –build .
31 cd ../
33 sudo python setup.py install –yes USE_AVX_INSTRUCTIONS –no DLIB_USE_CUDA

install face_recognition

35 sudo apt-get install python-pip
37 sudo pip install face_recognition –default-timeout=100

install ros dependance

39 sudo apt-get install ros-kinetic-usb-cam
48 sudo apt-get install ros-kinetic-kobuki
50 sudo apt-get install ros-kinetic-map-server
69 sudo apt-get install ros-kinetic-move-base
73 sudo apt-get install ros-kinetic-depthimage-to-laserscan
71 sudo apt-get install libsvm-dev
63 sudo pip install sklearn

install ros-control-dependance

2671 sudo apt-get install ros-kinetic-pluginlib
2673 sudo apt-get install ros-kinetic-ros-control
2675 sudo apt-get install ros-kinetic-joint-trajectory-controller
2677 sudo apt-get install ros-kinetic-ros-controllers
2679 sudo apt-get install ros-kinetic-controller-interface

install utility

75 sudo apt-get install gitg git-cola
76 sudo apt-get install ipython


build athena project

40 cd catkin_ws/
42 cd src
44 git clone https://jacobyu_aibrain@bitbucket.org/athena_aibrain/navigation-system-on-cartographer.git
45 cd ~/catkin_ws/
47 catkin_make

try to run module

62 rosrun vision face_recog_2.py
87 roslaunch vision face_detection_using_usbcam.launch

 

댓글 남기기

이메일은 공개되지 않습니다. 필수 입력창은 * 로 표시되어 있습니다