Skip to content

Instantly share code, notes, and snippets.

Embed
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 = cap.read()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.