LoginSignup
6
6

More than 5 years have passed since last update.

Python版OpenCVを動かすVMを作った

Posted at

毎回環境構築が大変すぎるのでVMを起動するだけでOpenCVを動かせるようにした。
fleth/ubuntu-14.04_python2.7.6_opencv3.1

各種バージョン

  • Ubuntu 14.04
  • Python 2.7.6
  • OpenCV 3.1

インストール

インストール後、以下のコマンドを実行。

mkdir -p ~/vms/opencv
cd ~/vms/opencv
vagrant init fleth/ubuntu-14.04_python2.7.6_opencv3.1; vagrant up --provider virtualbox

これで今後は以下のコマンドでVMを起動・ログインしてPython版OpenCVを利用できます。

cd ~/vms/opencv
vagrant up
vagrant ssh

参考

6
6
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
6
6