First time here? Check out the FAQ!
another example for reference: https://github.com/dariol/ViveOpenCVExample