read and write images continously after fixed delay time
Hello, i am trying to read images from a folder containing about 200 images by below code:
test_img_paths = [img_path for img_path in glob.glob("../input/test/*jpg")]
for img_path in test_img_paths:
img = cv2.imread(img_path, cv2.IMREAD_COLOR)
Now i want to read a batch of images(5 images) after each 2sec and done processing on them and than save them. How can it be implemented as i am new to opencv. Any help is highly appreciated?
To me it seems, you would need a basic course on OpenCV using Python first. Go to the python tutorials and work through them step by step.