|
|
Sorry for the trouble, but you look over it?
Any thoughts about it?
thanks.
|
|
|
|
|
Well, I really couldn't be bothered to read through all your code here, but a couple of things stood out on the quick look through I performed. In your Form_Load in Form1 (bad name by the way, you should try to rename your main components to be meaningful - you've got a lot of default names scattered about), you read the file details in; that's potentially going to be a long running operation so you should look to improve the user experience by running that on a thread.
Also, you have lots and lots of nested if statements, you could use short-circuit logic to make your code a bit more compact.
|
|
|
|
|
|
Hi all,
I can detect face and specific color using c# and open cv.
I hardly need code/ link/ help to detect teeth using c# and openCV.
Waiting for your helps.
|
|
|
|
|
AhmedMasum wrote: I hardly need code/ link/ help
If you hardly need it, why are you asking?
Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.
Manfred R. Bihy: "Looks as if OP is learning resistant."
|
|
|
|
|
sorry for using the wrong words.
Actually I really need this..
|
|
|
|
|
And what if the image has no teeth?
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Then just brush it off.
Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.
Manfred R. Bihy: "Looks as if OP is learning resistant."
|
|
|
|
|
I don't want teeth near my ARM.
|
|
|
|
|
if there is not teeth then it will show a message.
But if it detect teeth then it will show another message.
|
|
|
|
|
Still not got any good solution..
|
|
|
|
|
You need to spend some time thinking about this. How exactly do you think a computer can figure out the difference between a portion of a face and a tooth or teeth? This is all about image analysis which is not a simple matter of writing a few lines of code. Try looking at some of the articles on this subject here on CodeProject and on the wider internet.
I must get a clever new signature for 2011.
|
|
|
|
|
Thanks for your suggestion.
There are lots of online help for detecting face. There are some API to detect face from an image.
But I am not getting any efficient code to detect teeth from face using c#.
I am reading different articles but still can't code them.
thanks.
|
|
|
|
|
AhmedMasum wrote: But I am not getting any efficient code to detect teeth from face using c#.
Probably because it is very difficult to recognise where face ends and teeth begin. This is something like spectral analysis but without the accuracy.
I must get a clever new signature for 2011.
|
|
|
|
|
First find the mouth. Then use an edge-detection algorithm to find boundaries. The lips and teeth will be bounded by edges where the darkness changes. If you have color images, this will give you more information you can use to find edges. The bounded regions between the lips are probably teeth.
|
|
|
|
|
I need to suppress a DOS window when when calling XCOPY from a C# application
|
|
|
|
|
Try ProcessWindowStyle.Hidden:
Process p = new Process();
p.StartInfo.Arguments = @"F:\Temp F:\Temp2\";
p.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;
p.StartInfo.FileName = "XCOPY";
p.Start();
Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.
Manfred R. Bihy: "Looks as if OP is learning resistant."
|
|
|
|
|
Spot on!
------------------------------------
I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
CCC Link[ ^]
Trolls[ ^]
|
|
|
|
|
Hi,
I try to generate an xml file using the iso 20022 norm ( it is ISO 20022 Payments Messages norm). My C# code is :
XmlTextWriter myXmlTextWriter = new XmlTextWriter ("D:/New Folder/Marwen.xml", System.Text.Encoding.UTF8);
myXmlTextWriter.Formatting = Formatting.Indented;
myXmlTextWriter.WriteStartDocument (false);
myXmlTextWriter.WriteStartElement ("root");
myXmlTextWriter.WriteAttributeString ("xmlns","urn:iso:std:iso:20022:tech:xsd:pain.001.001.02");
myXmlTextWriter.WriteStartElement ("pain.001.001.02");
The file is generated succesfully. My question is " is it LEGAL to do that?The norm "iso 20022" is it protected( so I should have permission to write the head like that?
myXmlTextWriter.WriteAttributeString ("xmlns","urn:iso:std:iso:20022:tech:xsd:pain.001.001.02");
is it simplly an indication for using this norm to write my xml file messages?
Plzzzzzzzzzz help me I am really blocked
Thank u
|
|
|
|
|
|
Hello:
I'd like to set mouse enable/disable and display settings programmatically without
having to log out or restart. Is this possible by making registry
settings and then having the winlogin process re-read the registry? Or
is there another way to do this?
Thanks in advance.......
|
|
|
|
|
CP Archive[^]
and
Stack Overflow[^]
Hope they help.
------------------------------------
I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
CCC Link[ ^]
Trolls[ ^]
|
|
|
|
|
thank u very much..
but these given solution work only when app is run. after that it doesn't work.
i want to disable/enable mouse port or
i want to deactivate mouse device driver....
again thank u....
|
|
|
|
|
Hi there
Thanks for taking the time reading this.
Basically I would like to understand and emulate the drag-and-drop features available in Visual Studio and many other applications, when you drag a panel/control and it appears in the screen where you want to lock it and if it is drop on top of a panel with an existing control then it becomes a tab.
Any help will be most appreciated
Regards
Andres
|
|
|
|