X-Git-Url: http://challenge-bot.com/repos/?p=challenge-bot;a=blobdiff_plain;f=bbb%2Fbbb%2Fbin%2Finstall-opencv.bash;fp=bbb%2Fbbb%2Fbin%2Finstall-opencv.bash;h=136117342eabc359ae9515bc31e158e146ce81e4;hp=0000000000000000000000000000000000000000;hb=96d61f3dfc88e685d89b62bd71f7bd6a4a1962f3;hpb=dc4d07d0a34707644daf004c1c705e2915500986 diff --git a/bbb/bbb/bin/install-opencv.bash b/bbb/bbb/bin/install-opencv.bash new file mode 100755 index 0000000..1361173 --- /dev/null +++ b/bbb/bbb/bin/install-opencv.bash @@ -0,0 +1,32 @@ +#! /usr/bin/env bash + +# Copyright (C) 2016 Daniel Watson +# See the end of the file for license conditions. +# GNU AGPLv3 (or later at your option) +# https://challenge-bot.com/ + +set -o nounset +set -o errexit + +#TODO: check to see which of these are actually necessary. possibly just +# the last one, libopencv-dev, is necessary +sudo aptitude install -y \ + v4l-utils \ + libopencv-core2.4 \ + libopencv-core-dev \ + libopencv-dev + +# This file is part of challenge-bot. + +# Challenge-bot is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. + +# GNU Affero Emacs is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. + +# You should have received a copy of the GNU Affero General Public License +# along with challenge-bot. If not, see .