Remove opencv dependency