|
|
I would make a big-big-big database containing the faces of all the world's people then ask Rajesh for a monkey (you know, the recognition task) ...
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
|
|
kabirbdboy wrote: actually my supervisor said me first find three webside on face recognition.
If you can't find three websites with information on face recognition, you need to change majors. Good advice, take it.
You measure democracy by the freedom it gives its dissidents, not the freedom it gives its assimilated conformists.
|
|
|
|
|
|
Try Google, that's why it exists.
|
|
|
|
|
Hi kabirbdboy!
I work very hard to earn my money and have next to no free time. Please can I do your homework for you? It is so obvious that typing www.google.com and the search term face recognition is beyond your ability. I would hate for you to fail a course in a subject that you have no aptitude for. How else will the world be able to create all the team leaders, project managers and human resources professionals that we so desperatly need and you are so destined to become?
Panic, Chaos, Destruction.
My work here is done.
|
|
|
|
|
thank u.i have find some popular site and some demo project and paper on face recognition.i have already done my 40% work!!
|
|
|
|
|
Keep up the good work then. If you ask a question here again that looks like all you want us to do is do your homework for you, you can expect the same kind of responses. If you have a specific question about how some detail works and you show you've actually done some work on the problem, then you may get an answer.
You measure democracy by the freedom it gives its dissidents, not the freedom it gives its assimilated conformists.
|
|
|
|
|
I have an image with each pixel representing a value in the range 0...1 and would like to map a gradient to the range.
Values in the range 0...0.5 should be shaded from black to red, and values in the range 0.5...1 should be shaded red to white. Each colour is represented as a single unsigned int in the form AA RR GG BB with AA being redundant in this case. How would I go about doing that? I'm using C++ but at the moment psuedo code would be just fine.
|
|
|
|
|
You'd use the Color.FromArgb [^] method, iterating over the different colors
|
|
|
|
|
For each pixel:
1. If the value, v, is 0 to 0.5, R = v * 510, G = B = 0.
2. If v is .5 to 1, R = 255, G = B = (v - .5) * 510.
So, at v = 0, the pixel is black. As we go from 0 to .5, red increases to its maximum (255) as we approach .5.
From total red at v = .5, it's blended with increasing shades of white, up to total white at v = 1.
|
|
|
|
|
what is the regular expression of muliple line commment other then /* (a+n)* */ bcoz this expression donot accept /* hhhhhhhh*hhhhh*/ string ???????
|
|
|
|
|
You need to search for anything except a closing comment, including newlines.
Expresso is a great tool for testing and building regex.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
|
it is also conceivable to create a compiler without using any regex.
|
|
|
|
|
Just what I was going to say. Regexes are probably the least useful tool for writing a compiler. OK, a spanner is probably less useful, but you know what I mean
There are three kinds of people in the world - those who can count and those who can't...
|
|
|
|
|
You need to remember to escape the asterisks.
/\*.*?\*/
It doesn't handle nested comments, but I understand that balancing groups could be used to cover that.
One of the problems with trying to do it with a RegEx is that you have to read the entire file into a string before you process it and then use the SingleLine option.
|
|
|
|
|
|
The question goes as follow.
1. Write a c++ program that finds and prints all the prime numbers less than 100. (Hint:For each number from 2 to 100, find reaminder = number%n, where n ranges from 2 to sqrt(number). If any remainder equals 0, the number is not a prime number.)
2. Write a c++ program that calculates the nth number in the Fibonacci sequence, where the user enters n into the program interactively. For example, if n=6, the program should display a value of 5.The Fibonacci sequence is 0, 1, 1, 2, 3, 5, 8, 13...; the first two terms are 0 and 1, and each term thereafter is the sum of the two preceding terms-that is, fib(n)=fib(n-1)+fib(n-2).
I have tried to run but my program would not work. would anyone please help me out with this. thank you.
|
|
|
|
|
What exactly would not work?
|
|
|
|
|
after compiling the prime number question, the output of my program shows some weird numbers like 20887633892
20887633892
20887633892
|
|
|
|
|
I'm sorry but my powers of divination are not working today. Can you give us a clue as to the code involved in producing these values? Please try and narrow the problem down to the actual statements that cause the problem, and the input values to whatever algorithm you are using.
|
|
|
|
|
#include <iostream>
#include <cmath>
#include <conio.h>
using namespace std;
int main()
{
int num, n, remainder, prime, nonprime;
remainder = num % n;
for(num=2; num<=100; num++)
{
for(n=2; n<=sqrt(num); n++)
{
if(remainder==0)
break;
else
num=prime;
}
cout<<prime<<" "<<endl;
}
getche();
return 0;
}
|
|
|
|