4.94737

4.9 | 19 ratings Rate this file 110 Downloads (last 30 days) File Size: 1.9 MB File ID: #20976
image thumbnail

fdlibmex --- fast and simple face detection

by

 

05 Aug 2008 (Updated )

An efficient and easy-to-use mex library for detecting frontal faces in images

| Watch this File

File Information
Description

fdlibmex is a very simple face detection library for matlab. No toolboxes are required. The library consists of a single mex file with a single function that takes an image as input and outputs the locations of the frontal faces in the image.

The zip file includes mex files for the 32bit Windows, Linux and Mac platforms supported by Matlab, and an example script that illustrates the usage of the library.

MATLAB release MATLAB 7.6 (R2008a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (47)
12 Jun 2014 Qian Yu

Great! Thanks!

05 Mar 2014 Nurul Ain

Hi, would you please send me a version that could be used in 64bit windws machine? Thanks!

13 Dec 2013 Tran Vu

good

15 Feb 2013 Lian Guite

Using the values stored in 'r', i have cut out the detected faces individually from some rgb images, and i am getting all faces in grayscale which is obvious because of the rgb2gray function i have used..
But is there any way to get those cut out faces in rgb ?? How to retain its original rgb composition after running the fdlibmex ??

29 Oct 2012 adong7639

The result of this facedetector is as good as opencv!!!

02 Jul 2012 selim

I tried to run the demo file but got an error
??? Undefined function or variable 'fdlibmex'.

Error in ==> fdlibmex_demo at 16
fdlibmex

Can somebody help me to solve this problem.
Please help.

29 Nov 2011 Jason  
07 Sep 2011 Matteo

Hi everyone.
I'm also trying to run the library demo on maci64, but there's no way to get it work.
It's some kind of problem with the mex file.
If someone could help it will be appreciate, thx!

06 Jun 2011 xin lu

hi, i met the problem of "Undefined function or method
'fdlibmex' for input arguments
of type 'uint8'.

Error in ==> fdlibmex_demo at 23
pos = fdlibmex(img);"

I guess the binary file is compiled in 32bit compiler. Is that right? If that is the case, would you please send me a version that could be used in 64bit linux machine? Thanks!

01 Jun 2011 weike yin

can u send the source code of dll to me,my E-mail:yinweike119@163.com
thank you!

11 May 2011 emir

i got an error
??? Undefined function or method 'mblbp_featlist' for input arguments of type 'double'Can somebody help me to solve this problem.
thanks

26 Feb 2011 kiran nalawade

I tried to run the demo file but got an error
??? Undefined function or variable 'fdlibmex'.

Error in ==> fdlibmex_demo at 16
fdlibmex

Can somebody help me to solve this problem.
Please help.

26 Feb 2011 Siddharth Patil

I am not able to detect faces in color image. Is there any way to do this ?

08 Feb 2011 tjipto tjupu

mr wolf kienzle, im student in indonesia.now im do my final exame.but i have problem in face detection.mr wolf can i know the contain of fdlibmex.dll ??
thanks before.
cipto_jarwokatro@yahoo.com

01 Feb 2011 Computer Vision

Excellent work! Congratulations!
I submit one more request for the algorithm you use!

01 Feb 2011 Computer Vision  
11 Jan 2011 grace solomon

Hi,
Nice work on the face detector, seems to work well! Thanks for posting it.Would you like to tell us your algorithm?Please help.
regards,
grace

30 Nov 2010 Mariam Z

I got it... thanks

29 Nov 2010 Mariam Z

m unable to c the image wid the face detected.
I have not used this part of the code
fprintf('\n--- fdlibmex example ---\n');
fprintf('\n\t%d faces detected in \''%s\'' (see figure 1)\n\n', ...
size(pos,1), imgfilename);
as its not clear how to use it
can u please help me wid this?

09 May 2010 Hoang

Great job!
Would you like to tell us your algorithm? and how to analysis features to build your algorithm?
Thank you!

22 Apr 2010 Frank

I second the request for a 64bit windows version. :)

Thanks,

17 Apr 2010 zhijun yao

Great work. Thank you.

24 Feb 2010 Robert Delano

Wow this is great! Is there any way to get it to take a picture each time it recognizes a face?

Thanks again, Great job!

21 Nov 2009 Bhuvan Goradia

I tried to run the demo file but got an error "Undefined function or variable fdlibmex"
Do we need to load the dll library and if yes how to do this as the load library function requires a header which is no provided.
Please help.

03 Nov 2009 Vitomir Struc

Great job.

04 Oct 2009 Wolf Kienzle

Hi Alfian,

if you don't get an error message, then everything should be working OK. If not, here's a few things you may want to check: Have you tested it with the example image I provided? Are the faces in your images large enough (about 25x25 pixels)? Are they somewhat evenly illuminated and frontal (not rotated, no side views)? Have you tried cranking up the detection threshold?

Hope that helps!

01 Oct 2009 Alfian Abdul Halin

Hi Wolf :)

I was trying to use your code... but it didn't work for any of my test images. I am working with football (soccer) videos.. and I tested on some frames (640X480)...

Image quality is quite ok (not excellent). All are in JPEG extension (not JPG)... but no errors were given... I had to add extra code to change from RGB to Grayscale tho.

Do you know why this is happening? I was expecting it to work because of the many good reviews ure getting. Anyway... I still believe it could work. Maybe I need to add some things here and there? thankx

03 Sep 2009 Janayna

Very nice work. What database did you use? I work with face recognition I need help to find a large number of train images.

Thanks

24 Aug 2009 pin pin

heloo... how to use this using visual foxpro or visual basic?
how to declare it?
thanks

19 May 2009 ddt99999 Tong

Is it possible to have mex files for 64bit Windows? Thanks a lot..

18 May 2009 Daniel N

good!

08 May 2009 Zhe ‹

very nice work, it is so fast. how can i get more accuracy result from this demo. thanks

30 Apr 2009 PEDRO GARCIA

It's fast to find a face with this code. The fastest code I have found on the web.

Could you provide any estimation about when the publication will be available?

Thanks,

05 Mar 2009 Hanaa

Hi all!

I'm doing my final year project on 'Image Processing Methods for facial recognition using Matlab'. I've got Visual Studio 2005 background but never used MatLab before. I've just started on with research, video tutorials and reading.

Can anyone please help me with a guide, where can I start this from? Does this face detection code helps?

Your help would be very much appreciated! :))

15 Jan 2009 Gerardo Rosiles

Sorry, I did not read all the comments above. Are there any updates on the publlication and will it be protected by a patent?

15 Jan 2009 Gerardo Rosiles

Hi,

Great work. Thanks for posting it. Are you using still using the Rank Deficient Faces algorithm? If this is another algorithm can you provide a reference at this point?

Thanks,

Gerardo

22 Dec 2008 Wolf Kienzle

hi!

bhupala: the library cannot detect eyes and nose directly. but the face detection result should be a good starting point for where to look for eyes, nose, etc.

james: thanks! the algorithm uses a cascaded classifier, however, unlike viola/jones, it does not use integral images or haar wavelets. i hope i will manage to write up something soon. when that happens, i'll definitely post a link in here. :)

happy holidays!

-wolf

26 Nov 2008 James C

Hi Wolf,

Great program, its reliable and quick. I was wondering if you know when you are going to publish a journal? Also is you algorithm based on a particular type of face detection (e.g. active shape modeling or image integrals...)

Cheers
James

26 Nov 2008 James C  
24 Nov 2008 sri hari bhupala haribhakta

Dear Wolf,

is there any way to detect eyes, nose and lips using this code?

regards,
bhupala

22 Nov 2008 Wolf Kienzle

hi angela,

there is an optional sensitivity parameter, you just call pos = fdlibmex(img, threshold). threshold makes most sense around -10..10.

unfortunately, there are no scores :( however, you can get an idea of the confidence by running the detector again with a higher threshold and checking which detections remain.

good luck!
-wolf

14 Nov 2008 Angela

Hi Wolf,

Nice work on the face detector, seems to work well! Two questions though: (1) Is there any way gain access to parameters to adjust for precision and (2) are there any scores / confidences attached to each face detection?

Thanks,
Angela

13 Sep 2008 Help the Noob

HI
I am very curious of me but and want to
try out this stuff...
but do i need Mathworks Matlab R2008a to make this work?

05 Sep 2008 Jordi Palacin

Very nice and fast.

03 Sep 2008 Peter Gehler

Worked out of the box with good results

12 Aug 2008 Wolf Kienzle

The library implements a new algorithm (i.e. not Viola/Jones or the like) that has not been published yet. That's why there are no references, sorry.

10 Aug 2008 Sebastien PARIS

Why don't you offer the source code ? or indicate any references ?.

Updates
06 Aug 2008

file description extended

Contact us