Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Image::ObjectDetect(3)User Contributed Perl DocumentatioImage::ObjectDetect(3)

NAME
       Image::ObjectDetect - detects objects from picture(using	opencv)

SYNOPSIS
	 use Image::ObjectDetect;

	 my $cascade = 'haarcascade_frontalface_alt2.xml';
	 my $file = 'picture.jpg';
	 my $detector =	Image::ObjectDetect->new($cascade);
	 @faces	= $detector->detect($file);
	 for my	$face (@faces) {
	     print $face->{x}, "\n";
	     print $face->{y}, "\n";
	     print $face->{width}, "\n";
	     print $face->{height}, "\n";
	 }
	 # or just like	this
	 my @faces = detect_objects($cascade, $file);

DESCRIPTION
       Image::ObjectDetect is a	simple module to detect	objects	from picture
       using opencv.

       It is available at: http://sourceforge.net/projects/opencvlibrary/

METHODS
       new($cascade)
	   Returns an instance of this module.

       detect($file)
	   Detects objects from	picture.

FUNCTIONS
       detect_objects($cascade,	$file)
	   Detects objects from	picture.

EXPORT
       detect_objects

AUTHOR
       Jiro Nishiguchi <jiro@cpan.org>

       This library is free software; you can redistribute it and/or modify it
       under the same terms as Perl itself.

SEE ALSO
       <http://sourceforge.net/projects/opencvlibrary/>

perl v5.24.1			  2010-12-19		Image::ObjectDetect(3)

NAME | SYNOPSIS | DESCRIPTION | METHODS | FUNCTIONS | EXPORT | AUTHOR | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Image::ObjectDetect&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help