script c++ opencv