Skip to content

Instantly share code, notes, and snippets.

View shigengtian's full-sized avatar
🎯
Focusing

shi gengtian shigengtian

🎯
Focusing
View GitHub Profile
@shigengtian
shigengtian / gist:eb4a8b79f69e7271dfb38e2c85d29a96
Created February 15, 2020 16:02
Allow apps downloaded from anywhere catalina
sudo spctl --master-disable
@shigengtian
shigengtian / opencv_with_cuda.md
Last active January 21, 2020 13:42
opencv with cuda

install pacage

sudo apt install python3-dev python3-pip gcc-6 g++-6 cmake build-essential git pkg-config ccache \
unzip ecm extra-cmake-modules mesa-utils libgtk-3-dev ffmpeg \
libavcodec-dev libavformat-dev libswscale-dev libtbb-dev libogre-1.9-dev \
libjpeg-dev libpng-dev libtiff5-dev x264 libxvidcore-dev yasm \
libxine2-dev libv4l-dev libfaac-dev libmp3lame-dev libopencore-amrnb-dev \
libopencore-amrwb-dev libtheora-dev libvorbis-dev libxvidcore-dev \
x264 v4l-utils ffmpeg libdc1394-22 libdc1394-22-dev libtiff5-dev \
qt5-default libeigen3-dev libeigen3-doc tesseract-ocr tesseract-ocr-jpn \

Intel Realsense SDK setup

1. add pulic key

sudo apt-key adv --keyserver keys.gnupg.net --recv-key C8B3A55A6F3EFCDE || sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-key C8B3A55A6F3EFCDE

2. add repo server

1. Ubuntu 18