Modified code.
Merge branch 'master' of https://github.com/AMESRobotics2014/OpenCV-For-Pi