plug opencv and image processing