Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
# specify path to the working directory
path = ".../"
# read logo image
logo = cv2.imread(path+"opencv_logo.png")
# read the first frame of the video
cap = cv2.VideoCapture(path+"Pexels Videos 2675513.mp4")
ret, frame =
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment