Installing OpenCV - touretzkyds/cozmopedia GitHub Wiki
A script for building and installing OpenCV 3 with Python bindings under Ubuntu 16.04 can be found here: install_opencv.sh
Note: you can pip3 install opencv-contrib-python to get most of the OpenCV functionality, but video capture will not work. Video capture is required for perched camera support in cozmo-tools.