This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import cv2 | |
import time | |
import concurrent.futures | |
def display_frames(name): | |
cap = cv2.VideoCapture(name) | |
while True: | |
ret, frames = cap.read() | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import cv2 | |
import multiprocessing | |
import os | |
import time | |
from datetime import date | |
from concurrent.futures import ProcessPoolExecutor | |
TODAY = date.today().strftime("%d_%m") |