Add the open CV code