Add opencv support