changes to opencv