Click here to Skip to main content
13,299,727 members (67,543 online)
Rate this:
Please Sign up or sign in to vote.
I am developing an application in android and i want to implement smile detection but i am doing it on Android2.2 , mean i cannot use the FaceDetector API, and i also do not want to use OpenCV
i want some algorithm or code reference to get an idea, Please help with any reference or some code implementation. I have search a lot but all implementations i have found are on OpenCV or JavaCV etc i dont want to use any other API. Please suggest some starting point i am totally stuck
thanks reading
Posted 27-Sep-12 5:30am
Updated 27-Sep-12 5:56am
Sergey Alexandrovich Kryukov 27-Sep-12 12:54pm
I feel like almost anyone needs such code, so what? This is not really a question.
supermind2002 27-Sep-12 13:01pm
i know may b most of people may want this code so then it will also be helpful for them too , but i just want some reference links which can be helpful for me to have a look and get started
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

If you don't "want to use other API", the only logical suggestion would be: then create your own. What else? You already excluded a possibility of anything else by your requirements.
I also hope you understand that we, unfortunately, don't have resources to develop code on your orders.

Informally, I doubt you would be unable to approach the solution. Why? Because, from your question, I already see a lack of judgement, which is hardly compatible with the expertize required to approach such a complex problem. If I turn out to be wrong because you can actually solve such problem, I would gladly bring my apologies.

supermind2002 27-Sep-12 13:14pm
Thank you so much @Sergy for such a inspiring solution.
I know i am in lack of judgment, or may b i am unable to clearly state what i want
actually i need a pre older days implementation, or some reference to similar approaches or some similar problems , or some algorithm that can help me to make stairs toward the solution of this complex problem
And i really apology if my question states some order of implementing a code i did not mean that i just asked if some one had seen some link or have reference to his own website that can help me
and the reason to not using any other API is that It normally makes program very heavy by adding all other features as previous version of OpenCV does, and the reason to not use current Version of OpenCV is that it needs the OpenCV manager required to download before using my application which is definitely a drawback for my application
hope you understand now my problem
thanks for your precious comment
Sergey Alexandrovich Kryukov 27-Sep-12 15:14pm
No need to apologize. I only mentioned lack of judgement as it is related to the extreme difficulty of this problem -- please see my comments to the comment by Andres, below. I hope I did not hurt you -- it's just because you probably never tried to attack simpler image recognition problems. Unfortunately, it's just hard to produce something in this field. I'm pretty much sure such algorithms are kept in deep secret, because right now, the companies compete over big money made on "consumer" digital cameras, and such recognition is perceived as one of the factors of competitive edge. Even though it would make perfect sense to compete with big players in software, but hardly in this field -- it just looks as too much work, especially research.
Andreas Gieriet 27-Sep-12 14:59pm
I can only assist Sergey's statements. If you insist re-inventing the wheel you have to pay the price for that: study-study-try-study-error-try-study-... (and have all the time on the world and nothing better to do ;-))
See as a starting point Wikipedia.
It's your time you spend on that...
My 5 cents.
Sergey Alexandrovich Kryukov 27-Sep-12 15:07pm
Thank you, Andreas. It's not really re-inventing the wheel, it's trying to play a role of whole industry. Such things of such scales are never created by one person or a small team. I always support re-inventing the wheels though (did you know how many times they were actually "reinvented"? with so impressive results? -- look at a modern car or a bike), but this is not the case. That's why I mentioned the "lack of judgement".
Andreas Gieriet 27-Sep-12 16:30pm
Fully agree. You are right!
Sergey Alexandrovich Kryukov 27-Sep-12 16:52pm
Great. Thank you, Andi.
supermind2002 28-Sep-12 7:06am
@Andreas.. thanks for your comment, yes i know it is like reinventing the wheel but that's why i asked if there is already invented wheel any one found and can share with me :-)
But if i cannot find any where the already wheel then it is must to make one to use
supermind2002 28-Sep-12 7:14am
@sergey... I really like your comment it actually inspire me and now i understand why i am unable to find it any where on internet, yes i think these type of materials are being kept secret.
I have done image processing before but i have done it on MATLAB and as you know there is every thing builtin we just have to apply our strategy and just combine the blocks to make face recognation, Optical mark recognation or Licence plate recognition.
But now i have to do it in android where every thing has to made from scratch because for developing a mobile it is not like developing on computer with core i7 CPU with lot of GBs of RAM and space in 1000s of GB, it is like developing in a micro controller
so i want to be as precise as i can. Unfortunately i never made such kind of application in micro controller before so that's is why i want to do it like re-inventing so that it also clears the concept for more difficult tasks ahead. As this problem is just starting
Any ways, thank you so much both of you people for helping by inspiring
Sergey Alexandrovich Kryukov 28-Sep-12 14:03pm
Thank you for understanding.
Will you accept my answer formally anyway (green button). I really think this is quite realistic assessment of what you can have...
CPallini 30-Sep-12 8:58am
My 5.
Thank you, Carlo.
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

go and google Open CV. I hope this will be the answer to your question
CPallini 30-Sep-12 8:59am
Did you read the statement: "and i also do not want to use OpenCV" in the OP question?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web01 | 2.8.171207.1 | Last Updated 30 Sep 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100