add opencv functions