Added an exception if the user doesn't have opencv