How to install TORCS on ubuntu 16.04LTS ** 우분투에서 TORCS 설치 ** Background: ubuntu16.04LTS + torcs-1.3.6 step1) install required open source libraries ● Hardware accelerated OpenGL (freeglut, freeglut-dev) 1) make sure c complier such as gcc has installed in Ubuntu $sudo apt-get install gcc # already installed in Ubuntu 2) make sure you have the following packages installed $xrandr --version # header files for x11, already installed in U.. 더보기 Useful command 1. compile cpp file that includes opencv library path using g++$ g++ test.cpp -o test `pkg-config --cflags --libs opencv` 2. build cpp file using bazel~tensorflow) $ bazel build tensorflow/project/... 3. remove folder command (ubuntu)$ sudo rm -r foldername 4. data type change pythona = np.zeros(10) # floata_ = a.astype('int8') # int8 5. python sqrt functionimport matha = math.sqrt(4)print(a)-> .. 더보기 [opencv] how to install opencv on ubuntu ** 우분투에서 opencv 설치하기 ** Background: ubuntu16.04LTS + python 2.7 step1) install required libraries (See http://www.pyimagesearch.com/2016/10/24/ubuntu-16-04-how-to-install-opencv/) step2) download opencv source from terminal $ cd ~$ wget -0 opencv.zip https://github.com/Itseez/opencv/archive/3.2.0.zip$ unzip opencv.zip step3) Do cmake. (In my case, the option "D WITH_FFMPEG=OFF" is essential for .. 더보기 이전 1 ··· 61 62 63 64 65 다음