[vlc-devel] [Dugal Harris <dugalh at protoclea.co.za>] [PATCH] opencv video filter

Lists administration videolan at lists.videolan.org
Wed Sep 6 18:33:13 CEST 2006


The deleted attachment is at:
    <http://lists.videolan.org/attachs/20060906/opencv.patch>
 
----- Forwarded message from Dugal Harris <dugalh at protoclea.co.za> -----

Date: Wed, 06 Sep 2006 17:57:51 +0200
From: Dugal Harris <dugalh at protoclea.co.za>
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
To: vlc-devel at videolan.org
Subject: [PATCH] opencv video filter
X-Spam-Status: No, score=-5.0 required=5.0 tests=FORGED_RCVD_HELO,
	UNIFIED_PATCH autolearn=failed version=3.0.3

Hi

Here is the patch I mentioned in my last mail.  It consists of an opencv 
wrapper video filter and an opencv example video filter.  The opencv 
wrapper converts VLC picture_t's into OpenCV IplImages.  These images 
are then sent to an internal (configurable) opencv video filter for 
processing.  The opencv example is an example of one these internal 
filters that performs face detection.  The idea is that OpenCV 
developers can write their own internal filters, using VLC as a video 
source/ sink.

To compile this, you will need to configure with the 
"--with-opencv-tree" option set to the root of the opencv installation.  
This code was written with OpenCV Beta 5 - see  
http://opencvlibrary.sourceforge.net/ .  The "opencv-filter-name" 
variable of the opencv wrapper must be set to the name of the internal 
filter (this is "opencv example" for the example filter).  Face 
detection is processor intensive, so you will probably need to configure 
the wrapper filter to scale the video down before sending it to the 
example face detector.

Regards
Dugal



----- End forwarded message -----

-- 
Lists administration <videolan at lists.videolan.org>

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list