GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  IMAGE::OBJECTDETECT (3)

.ds Aq ’

NAME

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

CONTENTS

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/>
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 IMAGE::OBJECTDETECT (3) 2010-12-19

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.