Ask Your Question
0

Videocapture to read folder of TIFF files

asked 2015-06-02 04:24:56 -0600

Hi, I'm trying to read a bunch of images using Videocapture

Videocapture cap("C:/.../%04d.tiff");

and I'm getting the following errors:

could fund no file with path 'C:/.../%04d.tiff' and index in the range 0-4

warning: Error opening file (../../modules/highgui/src/cap_ffmpeg_impl.hpp:537

any ideas? thanks!

edit retag flag offensive close merge delete

Comments

is that literarily "C:/.../%04d.tiff" ?

berak gravatar imageberak ( 2015-06-02 06:47:10 -0600 )edit

no... it is an existing path in my computer...

Kevin Simmons gravatar imageKevin Simmons ( 2015-06-07 14:01:45 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2018-02-23 13:36:32 -0600

jms gravatar image

%04d.tiff looks for 0000.tiff, 0001.tiff, 0002.tiff, 0003.tiff and 0004.tiff. It does not find for example 0100.tiff

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2015-06-02 04:24:56 -0600

Seen: 809 times

Last updated: Feb 23 '18