|
VB6 doesn't have any image handling capability that would work with the speed required to detect a face. You'd have to use an external C++ library to give you more speed.
Also, the fact that you're even asking this question says that you don't have the skill required to implement a face dectection algorithm yourself. This will be quite a large research project for you. Since you don't have the skill to do the research yourself, you don't have the skill required to implement the algorithm.
But, I'll give you a hint. Start Googling for "face detection algorithm". You'll notice that most of the URL's you get in the search results are for universities. What does that tell you about the technology?
|
|
|
|
|
I knew the task would be too much for him, it is a Massive Ask.
Certainly not something to be tried by anyone under the level of "Expert"
------------------------------------
"When Belly Full, Chin Hit Chest"
Confucius 502BC
|
|
|
|
|
@Dalek and Dave
i want to ,sir, is this thing possible under vb 2008
vb2008 seems much more advanced than the previous versions
and one more thing
the one who started this thread is a girl(well, the name is of a girl)
cheers.
TheMrProgrammer
|
|
|
|
|
TheMrProgrammer wrote:
the one who started this thread is a girl(well, the name is of a girl)
Ah, forgive me, an obvious cultural difference, for us Europeans, Asian names can sometimes be rather non-gender-specific.
I imagine it is sometimes true in reverse.
I would say it WAS possible, but still insanely difficult.
There is all the code for looking at images, then looking at specific areas of an image, then comparing data models for eyes, nose mouth etc, then ensuring they are in the relative positions to give then an overall facial matrix and then that they are not merely coincidental images that fall into the similar pattern to form a face.
(Note: Even the human brain does this when it sees faces in clouds or Marmite jars!)
Possible? Yes!
Easy? No!
------------------------------------
"When Belly Full, Chin Hit Chest"
Confucius 502BC
|
|
|
|
|
TheMrProgrammer wrote: the one who started this thread is a girl(well, the name is of a girl)
And how would the fact that the OP owns a vagina change anything we have said ?
TheMrProgrammer wrote: i want to ,sir, is this thing possible under vb 2008
I recommend reading the article linked to in my sig, it will solve your issues.
Christian Graus
Driven to the arms of OSX by Vista.
Please read this[ ^] if you don't like the answer I gave to your question.
|
|
|
|
|
Since all versions of VB do not support pointers, getting that the image data without an external component is VERY slow. It could be done, just with horrible performance.
|
|
|
|
|
ashika1986 wrote: My mail address is "sumudu1986@gmail.com"
You're a moron. Know htat none of the spam you get from posting your address here, will be from the owners of CP. It will be from people who trawl the web for folks stupid enough to publically post their email. Apart from that, what the others said. VB6 is crap, and unsupported, this is a massive task, even in a real language, and it's clear on all fronts that you're too stupid for this task. Let your client know you're a liar.
Christian Graus
Driven to the arms of OSX by Vista.
Please read this[ ^] if you don't like the answer I gave to your question.
|
|
|
|
|
Blimey Mate, don't sit on that fence will you!
Why don't you tell him how you really feel!
But yeah, Email Addys in a public forum? A gift!
As for what he wants? He best forget it!
------------------------------------
"When Belly Full, Chin Hit Chest"
Confucius 502BC
|
|
|
|
|
I'm still trying to work out why someone thought you'd give them VB.NET code, AND felt that we needed to know that the OP is a girl. So what ?
Christian Graus
Driven to the arms of OSX by Vista.
Please read this[ ^] if you don't like the answer I gave to your question.
|
|
|
|
|
We all know when it comes to technical things girls need all the help they can get.
(Dave runs for cover!)
------------------------------------
"When Belly Full, Chin Hit Chest"
Confucius 502BC
|
|
|
|
|
That's rather a sexist remark, don't you think?? I work with two girls, one of whom holds a CISSP, who can kick my ass, technically.
|
|
|
|
|
Once more Irony becomes remains an English Phenomenon!
note the "Dave Runs For Cover" line!
It was humour, not serious!
------------------------------------
"When Belly Full, Chin Hit Chest"
Confucius 502BC
|
|
|
|
|
Hi,
Iam using
Dim ConStr As String = "Data Source=1.1.1.1; initial Catalog=My_Databse; User Id=UserA; Password=xxxxxx"
dim con as new sqlconnection
con.connectionstring=ConStr
con.open()
But also I want to use the diffrent database called "Another_Database" with this same connection...
Is it possible?
|
|
|
|
|
You want to use two different database with the same connection?? AFAIK, that's not possible. But, I can see how I could very easily be wrong.
|
|
|
|
|
Fortunately for you Dave is wrong, if you remain on the same server.
Dim ConStr As String = "Data Source=1.1.1.1; initial Catalog=My_Databse; User Id=UserA; Password=xxxxxx"
dim con as new sqlconnection
con.connectionstring=ConStr
con.open()
'Do whatever you need to do in the first database here
'If there is a chance that some process will close the connection
'you also need to check for that first. The ChangeDatabase method
'requires an open connection
con.ChangeDatabase("Another_Database")
'Do whatever you need to do in the other database here
My advice is free, and you may get what you paid for.
|
|
|
|
|
Nice , This is the one I expected !!!
|
|
|
|
|
Enjoy.
My advice is free, and you may get what you paid for.
|
|
|
|
|
Hi all...
I want to create a LAN application to handle one PC from another PC. One can see file system of another PC,share his desktop like NetMeeting etc.
I have created a program to handle file system of local machine but I want to Impliment it over LAN so that I can handle all PC connected to LAN by a single PC.
So suggest me how can I do this. If you have any example then please tell me.
Thanks.
Gagan
|
|
|
|
|
Define "handle"... Your question is just too vague to answer without that word defined.
Working with a remote file system is no different that working with a local one. You just have to use UNC paths instead of a drive letter. It would also help greatly if you understood how Windows networking works.
If your machines are all in the same ActiveDirectory domain, then you can just use your own admin-level account to gain access to the default admin shares on each machine. A typical UNC path would look like this:
\\workstationName\C$\folderPath\filename
|
|
|
|
|
How do you apply Visual Styles to the ProgressBar (without checking 'Enable XP Visual Styles' in the Application Properties), so that you get the Smooth Scrolling effect in Green as opposed to the Blue Chunks that is the default.
Regards, Graham
|
|
|
|
|
You'd have to make your own progress bar to do that without Visual Styles. The progressbar in the toolbox only takes it's cues from the Visual Style setting and the system.
|
|
|
|
|
Hi Dave,
Yes, applying Visual Styles is what I thought.
Imports System.Windows.Forms.VisualStyles.VisualStyleElement.ProgressBar
I was hoping that someone knew how to use that or could point me in the direction of where I would find out how to use that.
If I select 'Enable XP visual styles' in the Application Properties of a Project I will get the Smooth Scroll effect. However, that causes an undesirable effect in MonthCalendar that I want to avoid.
Therefore, I was wanting to Apply Visual Styles the ProgressBar Control only.
Regards, Graham
|
|
|
|
|
You can't use that on it's own. It's used by the control to figure out how to draw itself. Your problem is not the ProgressBar, but the MonthCalendar control. The solution is rather easy. Turn off VisualStyles for the MonthCalendar control and leave it on for everything else. You can find an example of how to do that here[^].
|
|
|
|
|
Many thanks Dave. That will work well for me.
I just have to translate that C# code into VB. That shouldn't be too hard.
Regards, Graham
|
|
|
|
|
i would create a user form, put in a frame (give it some fx like "2-fmSpecialEffectSunken), then put a label inside the frame with a background colour (fx = 1-fmSpecialEffectRaised), give it a small width.
Then within the main task you do a call to a sub that increases the width of the label.
(Assuming you know the rough size of the main task)
You can alter the colour/design of the bar and give it a label showing the %
Sub UpdateProg(pct)<br />
With ProgressIndicator this is the name of the userform described above.
.FrameProgress.Caption = Format(pct,"0%")<br />
.LabelProgress.Width = pct * (.FrameProgress.Width - 10)<br />
End Width<br />
DoEvents
This is a snippet from a Progress Indicator I use
------------------------------------
"When Belly Full, Chin Hit Chest"
Confucius 502BC
modified on Sunday, May 31, 2009 5:33 PM
|
|
|
|