1
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Jetson TX1にOpenCV 3.4をインストールしてみた

Posted at

環境

  • Jetson TX1
  • JetPack 3.2
  • OpenCV 3.4.1

注意点

TX1のストレージの空きが少ないため、外部SSDやSDメモリカード上で実行する。

インストール

$ git clone https://github.com/jetsonhacks/buildOpenCVTX2.git
$ cd buildOpenCVTX2
$ vi buildOpenCV.sh

リビジョン(3.3.0)、ビルドディレクトリ($HOME/opencv)、python3サポート(OFF)等を変更する。

buildOpenCV.sh
...
# Python 3
sudo apt-get install -y python3 python3-dev python3-numpy python3-py python3-pytest -y
...
git clone https://github.com/opencv/opencv.git
cd opencv
git checkout -b v3.4.1 3.4.1
...
git clone https://github.com/opencv/opencv_extra.git
cd opencv_extra
git checkout -b v3.4.1 3.4.1
...
-DBUILD_opencv_java=OFF \
    -DBUILD_opencv_python2=ON \
    -DBUILD_opencv_python3=ON \
    -DENABLE_PRECOMPILED_HEADERS=OFF \
...
$ ./buildOpenCV.sh
$ cd $HOME/opencv/build
$ sudo make install
1
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?