5/30/07

facial feature

I have written a program which can detect the locations of facial features including eyes, nose and mouth from a face image. (download)
The basic idea is to find the strong horizontal edges (using sobel operator) and generate connected components. The location of eyes, nose and mouth may be found from the larger connected components.
The code is written by java. You can execute the jar file using the following command: java -jar facial_location.jar directory_name
The program will read all images from that directory and output a file named features.txt.
In features.txt, the first string at each line is the image file name.
And then, the following 4 integers indicate the left-top conner coordinate and the right-bottom conner coordinate of the left eye. The locations of right eye, nose, and mouth are recorded in the same format (4 integers).

8 comments:

M. said...

Hey,

I have try to use your java jar file but it have some errors. When I try to use the java source files, it has a missing Image.java file in package cv.main.

Can you also include the file in your blog or email me at adrianwch@yahoo.com?

Regards,
Adrian

M. said...

Sorry,

My email address is adrianwchsg@yahoo.com.

Regards,
Adrian

Unknown said...

I am also havig the same problem as melam was having.Pls mail me the Image.java file

Without Image.java file,it is getting difficult to understand the code.I will be so much thankful for providing me the code of Image.java file in my email:

mukeshregmi123@gmail.com
or
mukeshregmi@yahoo.com

Regards,
Mukesh

Anonymous said...

hey ,

Plz anybody can mail me the facial feature java files..even i m getting some errors if i compile that...waiting for u r reply plz post as fast as possible!!!

kuristin said...

Im having a project in face recognition too..Please send me Image.java and all necessary files to run it without errors. Could you also email it to me asap? thanks in advance

Regards,
uploadsdotph@yahoo.com

Anonymous said...

kuristin....i m even doing proj on face recog using eigenfaces..whats u r's?may i know plz....n i request to mail me the facial features java code as fast as possible....thanku for the ppl who post in advance.
mail to dadi.chandrima@gmail.com.

Umesh Kumar Thakral said...

Hello, i am doing project in face recognition. i have your code but not able to run it. it require some Imgage.java file missing plz send it as soon as possible. my email address is umesh.kr1983@gmail.com

kc said...

Hi I'm getting the below given error.

C:\Documents and Settings\kalani\Desktop>java -jar facial_location.jar C:\Docume
nts and Settings\kalani\My Documents\face
Exception in thread "main" java.lang.NullPointerException
at java.util.Arrays.sort(Unknown Source)
at cv.main.face_feature.main(face_feature.java:105)

I would very much appreciate if someone can help me out to solve this.