473,320 Members | 2,122 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Mouth Detection Using Projection Method

20
Hi all,
Do anyone of u know how to write the codes for horizontal and vertical integral projection in C?
I decide to use this method for automated mouth detection.
Any helps will be apprecated.
Thank you very much

Regards,
Tommy
Jul 30 '07 #1
5 2349
sicarie
4,677 Expert Mod 4TB
I don't off the top of my head (probably the bottom either), do you have an algorithm for it?
Jul 30 '07 #2
TommyC
20
I am currently doing face recognition.
Automatically detect the face region has been done.
I use Y projection method to extract the mouth region.
Let's say the height of the image which contains face region is 100 pixels.
By doing vertical projection, i will generate a average value of each row in vertical direction. A graph like sine wave can be generated using EXCEL.
Each minimum in the graph represent eyebrows, eyes, nose and mouth.
There are 3 maximum in between those minimum. My problem is how to write program to auto choosing the area(distance) of the last minimum(mouth).
So that the mouth region in the image will be extracted automatically.
Any idea guys? Thank you very much.

Regards,
Tommy
Jul 31 '07 #3
TommyC
20
Can you please elaborate more? I can't get you.
Thanks.

Regards,
Tommy
Jul 31 '07 #4
TommyC
20
Hi all,
Now i hava a program to detect the minima that i want sort like:
HB_min[60]=56;
HB_min[80]=66;
HB_min[87]=70;
/* 60, 80, 87 are define as Y */
Now my problem is how to write a program to auto choose the smallest and largest Y without knowing how many minima have been detected. This is because the smallest Y can be the Y_min for the mouth region.
Any idea?
Thank you very much.

Regards,
Tommy
Aug 1 '07 #5
sicarie
4,677 Expert Mod 4TB
Hi all,
Now i hava a program to detect the minima that i want sort like:
HB_min[60]=56;
HB_min[80]=66;
HB_min[87]=70;
/* 60, 80, 87 are define as Y */
Now my problem is how to write a program to auto choose the smallest and largest Y without knowing how many minima have been detected. This is because the smallest Y can be the Y_min for the mouth region.
Any idea?
Thank you very much.

Regards,
Tommy
I'm not sure how 3 things can be declared as a single Y, but I would recommend an if statement to iterate through all your values and compare each to the one before it. You can return whichever is smaller.
Aug 7 '07 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

60
by: Fotios | last post by:
Hi guys, I have put together a flexible client-side user agent detector (written in js). I thought that some of you may find it useful. Code is here: http://fotios.cc/software/ua_detect.htm ...
1
by: anirbanab | last post by:
Hi, I am trying to take a parallel projection of a real-life surface(fractal surface) on series of 2D planes(that is X-Y, Y-Z, Z-X planes). The idea then is to concentrate on any particular patch...
8
by: Chad | last post by:
To anyone who is smarter than I am when it comes to WMI: Here is what I am trying to do: 1) Detect a USB pen drive when it is inserted 2) Retrieve the drive letter of the pen drive 3) Check...
0
by: Garmt de Vries-Uiterweerd | last post by:
X-posted to opera.page-authoring, because this is a bit Opera-specific for the moment. F'up to ciwas. I am playing around with dedicated styling for the projection media type.. Currently the...
11
by: pompair | last post by:
Hi, Does anyone know how to use anonymous types in a list? I mean, if you define in your code three anonymous types: new {FirstName = "Donald", LastName = "Duck"}; new {FirstName =...
4
by: Peter Webb | last post by:
I am writing some visualisation code for 4 dimensional geometric shapes. This is to run in the C# .NET XNA environment, so I am cross posting a maths and C# group. My software runs just fine for...
0
by: origami.takarana | last post by:
Intrusion Detection Strategies ----------------------------------- Until now, we’ve primarily discussed monitoring in how it relates to intrusion detection, but there’s more to an overall...
10
by: Conrad Lender | last post by:
In a recent thread in this group, I said that in some cases object detection and feature tests weren't sufficient in the development of cross-browser applications, and that there were situations...
5
by: maheswaran | last post by:
Hi all, My home page have login button to login the users. Am trying to use lightbox method in login screen. Using this when user click the loing button, login form will appear with lightbox effect...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.