Skip to content

Latest commit

 

History

History
34 lines (19 loc) · 1.14 KB

README.md

File metadata and controls

34 lines (19 loc) · 1.14 KB

Getting Started with Images

You will learn these functions : cv2.imread(), cv2.imshow() , cv2.imwrite().

Color image loaded by OpenCV is in BGR mode. But Matplotlib displays in RGB mode. So color images will not be displayed correctly in Matplotlib if image is read with OpenCV.

Getting Started with Videos

You will learn these functions : cv2.VideoCapture(), cv2.VideoWriter().

FourCC is a 4-byte code used to specify the video codec. The list of available codes can be found in fourcc.org. It is platform dependent.

Drawing Functions in OpenCV

You will learn these functions : cv2.line(), cv2.circle() , cv2.rectangle(), cv2.ellipse(), cv2.putText() etc.

Mouse as a Paint-Brush

You will learn these functions : cv2.setMouseCallback().

Trackbar as the Color Palette

You will learn these functions : cv2.getTrackbarPos(), cv2.createTrackbar() etc.

A simple application which shows the color you specify.