473,654 Members | 3,109 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Mouth Detection Using Projection Method

20 New Member
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 2363
sicarie
4,677 Recognized Expert Moderator Specialist
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 New Member
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 New Member
Can you please elaborate more? I can't get you.
Thanks.

Regards,
Tommy
Jul 31 '07 #4
TommyC
20 New Member
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 Recognized Expert Moderator Specialist
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
7246
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 The detector requires javascript 1.0 to work. This translates to netscape 2.0 and IE 3.0 (although maybe IE 2.0 also works with it)
1
1571
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 of the surface and possibly extract some useful features out of it. Can somebody please provide me with some link/free code(may be only for the function, I don't need the complete source code) or somekind of reference where it is made freely...
8
8492
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 for a specific folder on the pen drive I keep receiving an error message that reads: An unhandled exception of type 'System.ExecutionEngineException'
0
1477
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 only browser to support it is Opera, which uses projection when in full-screen mode. On a website I maintain (http://www.jules-verne.nl/), I have set up some special styles for projection. Not that this specific website really needs it, but...
11
4973
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 = "Mickey", LastName = "Mouse"}; new {FirstName = "Minnie", LastName = "Mouse"};
4
2453
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 3D objects - for example I can draw cubes, tetrahedrons, icosahedrons etc and rotate them on screen. All of the "heavy lifting" is done by the XNA libraries, which have transformation libraries to map 3D constructs onto 2D with perspective. Using...
0
1913
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 intrusion detection installation than monitoring alone. Monitoring can help you spot problems in your network, as well as identify performance problems, but watching every second of traffic that passes through your network, manually searching for...
10
3252
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 where you could improve the application by detecting the browser vendor/version. Some of the posters here disagreed. Since then, I've had to deal with a few of these cases; some of them could be rewritten to use object detection, and some couldn't....
5
9442
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 and home page get shadow effect (all are knew about light box else see http://particletree.com/features/lightbox-gone-wild/). While trying with this i can not get the value from form.html to form.php when am submit the page from.html Here my...
0
8372
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8285
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8591
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7304
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6160
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5621
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4149
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4293
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1592
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.