opencv - How to read multiple images from a folder in open cv (using C) -
i new open cv , c. how specify multiple images same kind of operation.
if images (sequentially) numbered, abuse hidden feature videocapture, pass (format) string:
videocapture cap("/my/folder/p%05d.jpg"); // work with: "/my/folder/p00013.jpg", etc while( cap.isopened() ) { mat img; cap.read(img); // process(img); }
Comments
Post a Comment