HOpenCV-0.4.0.1: A binding for the OpenCV computer vision library

Safe HaskellNone
LanguageHaskell98

AI.CV.OpenCV.CV

Synopsis

Documentation

canny :: IplImage -> IplImage -> Double -> Double -> Int -> IO () Source

Find edges using the Canny algorithm

resize :: IplImage -> IplImage -> InterpolationMethod -> IO () Source

Resizes an image using the specified interpolation method

dilate :: IplImage -> IplImage -> Int -> IO () Source

Dilates an image using a specific structuring element

pyrDown :: IplImage -> IplImage -> IO () Source

Smooths an image and downsamples it, currently only gaussian5x5 is supported

c_cvHaarDetectObjects Source

Arguments

:: Ptr Priv_IplImage

image

-> Ptr Priv_CvHaarClassifierCascade

cascade

-> Ptr Priv_CvMemStorage

storage

-> CDouble

scale_factor

-> CInt

min_neighbors

-> CInt

flags

-> CInt 
-> CInt

min_size

-> IO (Ptr (Priv_CvSeq CvRect)) 

haarDetectObjects Source

Arguments

:: IplImage

image

-> HaarClassifierCascade

cascade

-> MemStorage

storage

-> Double

scale_factor

-> Int

min_neighbors

-> HaarDetectFlag

flags

-> CvSize

min_size

-> IO (CvSeq CvRect) 

Detects objects in the image. Matches are returned as a list of rectangles