codes for my openCV