SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

perl-Cv rpm build for : openSUSE Leap 42. For other distributions click perl-Cv.

Name : perl-Cv
Version : 0.29 Vendor : obs://build_opensuse_org/devel:languages:perl
Release : 2.12 Date : 2016-09-07 07:13:14
Group : Development/Libraries/Perl Source RPM : perl-Cv-0.29-2.12.src.rpm
Size : 1.70 MB
Packager : (none)
Summary : Helps You to Make Something Around Computer Vision
Description :
\'Cv\' is the Perl interface to the OpenCV computer vision library that
originally developed by Intel. I\'m making this module to use the computer
vision more easily like a slogan of perl _\"Easy things should be easy, hard
things should be possible.\"_

The features are as follows.

* *

\'Cv\' was made along the online reference manual of C in the OpenCV
documentation. For details, please refer to the
http://opencv.willowgarage.com/.

* *

You can use \'CreateSomething()\' as a constructors.

my $img = Cv->CreateImage([ 320, 240 ], IPL_DEPTH_8U, 3);
my $mat = Cv->CreateMat([ 240, 320 ], CV_8UC3);

* *

You can also use \'new\' as a constructor. \'Cv::Image->new\' is
\'Cv->CreateImage()\', \'Cv::Mat->new\' is \'Cv->CreateMat()\'. In the calling
parameters, there are some difference in CreateImage() and CreateMat().
But there are no difference in \'Cv::Something->new\'. This is because we
create same object without knowing about original object in the
\'Cv::Arr\'.

my $img = Cv::Image->new([ 240, 320 ], CV_8UC3);
my $mat = Cv::Mat->new([ 240, 320 ], CV_8UC4);

You can omit parameters and that will be inherited.

my $sameone = $img->new;
my $gray = $color->new(CV_8UC1);

* *

You have to call cvReleaseImage() when you\'ll destroy the image object in
the OpenCV application programs. But in the \'Cv\', you don\'t have to call
cvReleaseImage() because Perl calls \'DESTROY\' for cleanup. So the
subroutine \'DESTROY\' has often been defined as an alias of
cvReleaseImage(), cvReleaseMat(), ... and cvReleaseSomething().

Some functions, eg. cvQueryFrame() return a reference but that cannot be
destroyed. In this case, the reference is blessed with
\'Cv::Somthing::Ghost\', and identified. And disable destroying.

* *

You can use name of method, omitting \"cv\" from the OpenCV function name,
and also use lowercase name beginning. For example, you can call
\'cvCreateMat()\' as:

my $mat = Cv->CreateMat(240, 320, CV_8UC3);
my $mat = Cv->createMat(240, 320, CV_8UC3);

* *

When you omit the destination image or matrix (often named \"dst\"), \'Cv\'
creates new destination if possible.

my $dst = $src->Add($src2);
my $dst = $src->Add($src2, $mask); # can\'t omit dst

in this case, you can create $dst as follows:

my $dst = $src->Add($src2, $src->new, $mask);

* *

Some functions in the OpenCV can handle inplace that use source image as
destination one. To tell requesting inplace, you can use \'\\0\' as \'NULL\'
for the destination.

my $dst = $src->Flip(\\0);

* *

The members of structure are same as function.

my ($c, $d) = ($img->channels, $img->depth);
my ($h, $w) = ($img->height, $img->width);
my ($r, $c) = ($img->rows, $img->cols);
my AATTsz = $img->sizes;

But we can\'t use as lvalue.

my $roi = $img->roi; # GetImageROI($img)
$img->roi($roi); # SetImageROI($img, $roi)
my $coi = $img->coi; # GetImageCOI($img)
$img->coi($coi); # SetImageCOI($img, $coi)

* *

There are functions Get() and Set(). They access an elements. You can
call Get() as cvGetND(), and Set() as cvSetND(). So, you have to to call
Fill() instead of calling the cvSetND().

my $x = $mat->Get($i, $j); # cvGetND($mat, [$i, $j])
my $x = $mat->Get(\\AATTidx); # cvGetND($mat, \\AATTidx);

When the number of indexes is less than the number of the dimensions, 0
is complemented as indexes.

$mat->Set([$i, $j, ...], $x); # cvSetND($mat, [$i, $j, ...], $x)
$mat->Set(\\AATTidx, $x); # cvSetND($mat, \\AATTidx, $x)
$mat->Fill($x); # cvSet($mat, $x)

* *

Ptr() returns a string that from specified element up to the end of the
line. Parameters are same as Get().

my $str = $mat->Ptr($row, $col); # cvPtrND($mat, [$row, $col]);
my $str = $mat->Ptr($row); # cvPtrND($mat, [$row]);

* *

There are functions to split per channel and merge them.

$rgb->Split($r, $g, $b); # cvSplit($rgb, $r, $g, $b)
my ($r, $g, $b) = $rgb->Split; # cvSplit($rgb, $r, $g, $b)
my $rgb = Cv->Merge($r, $g, $b); # cvMerge([$r, $g, $b], $rgb);

* *

cvAddS() and cvAdd() are integrated into Add(). The function which can be
identified by the argument.

my $ar2 = Cv->CreateImage(); # ref Cv::Image
my $sc2 = cvScalar(); # ref ARRAY
my $d = $ar->Add($ar2); # cvAdd($ar, $ar2)
my $d = $ar->Add($sc2); # cvAddS($ar, $sc2)

The integrated function as follows.

AbsDiff(), Add(), And(), Cmp(), InRange(), Max(), Min(), Or(), Sub(),
Xor()

RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl/openSUSE_Leap_42.2/x86_64

Content of RPM  Changelog  Provides Requires

Hmm ... It's impossible ;-) This RPM doesn't exist on any FTP server

Provides :
BGCodeBookModel.so()(64bit)
Cv.so()(64bit)
Histogram.so()(64bit)
Qt.so()(64bit)
Subdiv2D.so()(64bit)
perl(Cv)
perl(Cv)
perl(Cv::Arr)
perl(Cv::BGCodeBookModel)
perl(Cv::Capture)
perl(Cv::Config)
perl(Cv::Constant)
perl(Cv::ContourScanner)
perl(Cv::ConvKernel)
perl(Cv::FileStorage)
perl(Cv::Flipbook)
perl(Cv::Font)
perl(Cv::HaarClassifierCascade)
perl(Cv::Histogram)
perl(Cv::Image)
perl(Cv::Image::Ghost)
perl(Cv::Kalman)
perl(Cv::Mat)
perl(Cv::Mat::Ghost)
perl(Cv::MatND)
perl(Cv::MatND::Ghost)
perl(Cv::MemStorage)
perl(Cv::More)
perl(Cv::Qt)
perl(Cv::Seq)
perl(Cv::Seq)
perl(Cv::Seq::Circle)
perl(Cv::Seq::Point)
perl(Cv::Seq::Point)
perl(Cv::Seq::Point2)
perl(Cv::Seq::Rect)
perl(Cv::Seq::SURFDescriptor)
perl(Cv::Seq::SURFPoint)
perl(Cv::Seq::Seq)
perl(Cv::SparseMat)
perl(Cv::SparseMat::Ghost)
perl(Cv::StereoBMState)
perl(Cv::StereoGCState)
perl(Cv::StereoSGBM)
perl(Cv::Subdiv2D)
perl(Cv::VideoWriter)
perl-Cv
perl-Cv(x86-64)

Requires :
libopencv_legacy.so.2.4()(64bit)
libopencv_highgui.so.2.4()(64bit)
libc.so.6()(64bit)
libopencv_objdetect.so.2.4()(64bit)
libc.so.6(GLIBC_2.3.4)(64bit)
libc.so.6(GLIBC_2.2.5)(64bit)
libc.so.6(GLIBC_2.14)(64bit)
libopencv_photo.so.2.4()(64bit)
libopencv_video.so.2.4()(64bit)
libstdc++.so.6()(64bit)
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
libpthread.so.0(GLIBC_2.2.5)(64bit)
libpthread.so.0()(64bit)
libopencv_features2d.so.2.4()(64bit)
rpmlib(CompressedFileNames) <= 3.0.4-1
libstdc++.so.6(GLIBCXX_3.4)(64bit)
libm.so.6(GLIBC_2.2.5)(64bit)
perl(ExtUtils::PkgConfig) => 1.120000
libstdc++.so.6(CXXABI_1.3)(64bit)
libc.so.6(GLIBC_2.4)(64bit)
rpmlib(PayloadIsLzma) <= 4.4.6-1
libstdc++.so.6(GLIBCXX_3.4.9)(64bit)
libgcc_s.so.1(GCC_3.0)(64bit)
libm.so.6()(64bit)
libopencv_imgproc.so.2.4()(64bit)
perl(:MODULE_COMPAT_5.18.2)
libgcc_s.so.1()(64bit)
libopencv_core.so.2.4()(64bit)
perl(ExtUtils::ParseXS) => 2.220
perl(ExtUtils::MM_Cygwin) => 6.620
libopencv_calib3d.so.2.4()(64bit)


Content of RPM :
/usr/lib/perl5/vendor_perl/5.18.2/x86_64-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.18.2/x86_64-linux-thread-multi/Cv
/usr/lib/perl5/vendor_perl/5.18.2/x86_64-linux-thread-multi/Cv.pm
/usr/lib/perl5/vendor_perl/5.18.2/x86_64-linux-thread-multi/Cv/BGCodeBookModel.pm
/usr/lib/perl5/vendor_perl/5.18.2/x86_64-linux-thread-multi/Cv/Config.pm
/usr/lib/perl5/vendor_perl/5.18.2/x86_64-linux-thread-multi/Cv/Constant.pm
/usr/lib/perl5/vendor_perl/5.18.2/x86_64-linux-thread-multi/Cv/Cv.inc
/usr/lib/perl5/vendor_perl/5.18.2/x86_64-linux-thread-multi/Cv/Flipbook.pm
/usr/lib/perl5/vendor_perl/5.18.2/x86_64-linux-thread-multi/Cv/Histogram.pm
/usr/lib/perl5/vendor_perl/5.18.2/x86_64-linux-thread-multi/Cv/JA.pod
/usr/lib/perl5/vendor_perl/5.18.2/x86_64-linux-thread-multi/Cv/More.pm
/usr/lib/perl5/vendor_perl/5.18.2/x86_64-linux-thread-multi/Cv/Qt.pm
/usr/lib/perl5/vendor_perl/5.18.2/x86_64-linux-thread-multi/Cv/Seq
/usr/lib/perl5/vendor_perl/5.18.2/x86_64-linux-thread-multi/Cv/Seq.pm
/usr/lib/perl5/vendor_perl/5.18.2/x86_64-linux-thread-multi/Cv/Seq/Circle.pm
/usr/lib/perl5/vendor_perl/5.18.2/x86_64-linux-thread-multi/Cv/Seq/Point.pm
/usr/lib/perl5/vendor_perl/5.18.2/x86_64-linux-thread-multi/Cv/Seq/Point2.pm
/usr/lib/perl5/vendor_perl/5.18.2/x86_64-linux-thread-multi/Cv/Seq/Rect.pm
/usr/lib/perl5/vendor_perl/5.18.2/x86_64-linux-thread-multi/Cv/Seq/SURFDescriptor.pm
/usr/lib/perl5/vendor_perl/5.18.2/x86_64-linux-thread-multi/Cv/Seq/SURFPoint.pm
/usr/lib/perl5/vendor_perl/5.18.2/x86_64-linux-thread-multi/Cv/Subdiv2D.pm
/usr/lib/perl5/vendor_perl/5.18.2/x86_64-linux-thread-multi/Cv/perl.h
/usr/lib/perl5/vendor_perl/5.18.2/x86_64-linux-thread-multi/Cv/pp.h
/usr/lib/perl5/vendor_perl/5.18.2/x86_64-linux-thread-multi/Cv/sv.h
/usr/lib/perl5/vendor_perl/5.18.2/x86_64-linux-thread-multi/Cv/typemap
/usr/lib/perl5/vendor_perl/5.18.2/x86_64-linux-thread-multi/auto/Cv
/usr/lib/perl5/vendor_perl/5.18.2/x86_64-linux-thread-multi/auto/Cv/BGCodeBookModel
/usr/lib/perl5/vendor_perl/5.18.2/x86_64-linux-thread-multi/auto/Cv/BGCodeBookModel/BGCodeBookModel.so
/usr/lib/perl5/vendor_perl/5.18.2/x86_64-linux-thread-multi/auto/Cv/Cv.bs
/usr/lib/perl5/vendor_perl/5.18.2/x86_64-linux-thread-multi/auto/Cv/Cv.so
There is 17 files more in these RPM.

 
ICM