Cv::Flipbook - Handle flipbook like a video.
use Cv; use Cv::Flipbook; my $capture = Cv->CaptureFromFlipbook("/path/to/flipbook"); while (my $frame = $capture->QueryFrame) { $frame->Flip(\0, 1)->ShowImage; my $c = Cv->WaitKey(100); last if $c >= 0; }
Read sequential image files in the directory, Cv::Flipbook is treated as a video input it.
Cv::Flipbook
It is important to note the following points.
Align the size of all images.
Include the file name number for ordering.
Cv
MASUDA Yuta <yuta.cpan@gmail.com>
Copyright (C) 2012 by MASUDA Yuta
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.14.2 or, at your option, any later version of Perl 5 you may have available.
To install Cv, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Cv
CPAN shell
perl -MCPAN -e shell install Cv
For more information on module installation, please visit the detailed CPAN module installation guide.