|
how can i adjust the brightness or contrast or color while capturing live video using webcam in windows application.
|
|
|
|
|
Please do not duplicate post. If nobody has replied its either because they are busy or they don't know.
Bob
Ashfield Consultants Ltd
|
|
|
|
|
Dear sir ,
i am developing videoemail Application .
in this we record the our video after that we can save it or we can email it.
in this my requirement is to increase the brightness,color,sharpness etc while recording the video.
for eg: in yahoo messenger we are chatting with other person with webcam.
in this if i want to increase my video color,brightness etc.. i can do it by using the camseetings in the
preferences of the mywebcam.
requirment: for this we need some APIs
in myproject my reqirement is also same.
please give me the code n APIs, which are useful to set my videosettings (increase or decrease the brightnss,color etc..)
|
|
|
|
|
You do this using DirectX filters, which you drop into the stream. There's plenty of examples on the web, did you try google ?
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi,
I have created my own DLL as a class library & I am wanting to include this in a C# windows application.
In my windows app & I add a reference to this dll easily, but when I try and add my using statement it doesn't appear in the list
I know this is going to be a really simple prob - but I just cant see the wood for the trees!
I would be grateful if anyone can help.
Thanks
Janet
Lady Programmers are a rare breed!
|
|
|
|
|
Have you tried just typing the namespace in the using statement manually and building the application. I'm thinking that intellisense may not be working correctly.
Alternatively, you could attach the project that creates the class library to the same solution that holds your windows application and add the reference by the project than manually through the assembly.
|
|
|
|
|
Thanks. Once I just added the namespace & built the app I didn't get any errors, so I knew then that I had made an error in the DLL!
The error was - I had given the dll class name the same name as the namespace - durr!
Cheers
Janet
Lady Programmers are a rare breed!
|
|
|
|
|
hi all..
can any help to find the windows service path..??
i have tried in following 3 ways... but i didn't get it.
1.
System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase).Substring(6));
2.
AppDomain.CurrentDomain.SetupInformation.PrivateBinPath);
3.
System.Management.ManagementObjectSearcher sor =new System.Management.ManagementObjectSearcher("SELECT PathName FROM Win32_Service WHERE Name =MyWinService" );
foreach (ManagementObject mo in sor.Get())
{
strwriter.Write(Path.GetDirectoryName(mo["PathName"].ToString()));
}
}
thank you.
siri
|
|
|
|
|
|
Dear sir,
i have a windowsform with textbox has multiline is true.
if i enter more data in the textbox,the scorllbars of that text box are enable.
in another form i read this date,( i mean in the second windowform i see this data what i entered)
in this form in that textbox the data is showing wiith scrollbars enabled.because it is large data so it enable the scrollbars(in this form this textbox is in readonly mode)
problem: the problem i faced is when i click (drag down or up)on scrolbars of the textbox to see the data,the entire data is highlighted .
result: it should not be highlighted.
please give response immediately.
|
|
|
|
|
|
bbalaji7feb wrote: Send me the code and also send me some usefull links regarding that.
Anything else?
|
|
|
|
|
|
bbalaji7feb wrote: i m very new to programming. so i need help and its urgent
Read this[^] to learn about asking brilliant questions. It may be urgent for you, but not for others. So rephrase your question. Also read how to make use of google here[^]
|
|
|
|
|
Hari Balaji
It's considered rude to demand code on the forums. This site is not about doing your work for you - if you want that, you should try rent-a-coder.
|
|
|
|
|
We have the Auto-hide task bar unchecked. When my window is displayed, the bottom portion is hidden behind the taskbar. Is there a way to avoid this problem and let my form be fully displayed?
I tried setting the "TopMost" property to True, but then every other window is displayed behind my window. i.e. you can not display any other window such as outlook once my window is displayed, they all pop up behind my window.
What other options do I have?
|
|
|
|
|
Get this figured out?
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
Like ASP.NET/web form, do the windows form also have validation controls?
If not wht is the alternative option?
Thanks
Ashwini
|
|
|
|
|
I think they do, but either way, the obvious option is to have a label and write text to check if required values are present.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Don't you have to allocate screen space for labels in Windows Forms? What I am doing on my app is using a custom ValidateInput() method to check all my required fields/check for valid data, then create an error message based on what's wrong and display that to the user in a Dialog window.
|
|
|
|
|
Christian Graus wrote: the obvious option is to have a label and write text to check if required values are present.
Yes, it's the easy option. But I find it's hard to test when you follow TDD. I do this in other way by using ErrorProvider control and using data binding features of the input controls. Please take a look at this[^] article, it's worth reading.
|
|
|
|
|
ashwinibhalerao wrote: If not wht is the alternative option?
ASP.NET validation controls can't be used with windows forms. You have to take a look at using IDataErrorInfo interface and it's relationship with ErrorProvider control. Use data binding features of the controls, bind your business objects with it. If it implements, IDatErrorInfo , it can validate and show the error provider for the respective controls. Take a look at here[^]
|
|
|
|
|
Hi all,
I am developing a HR Portal, using vb.net 2003 & SQL 2000 for offline module.
I want to display the applied Resumes from database in the following fashion:
(checkbox) (Resume Heading) {Photograph(optional)}
(Candidate Name)
(Exp) (KeySkill)
This Is a similar format of normal job sites which displays the companyName & job Details in Short at the time of Job Application.
I want to do this using vb.net 2003 only.
So All the Experts plz say me which control I should on the form also the source code.
its a bit urgent!! deadline is near!!
Regards...
|
|
|
|
|
How about a data grid?
ketan bader wrote: its a bit urgent!! deadline is near!!
suprise suprise!
Bob
Ashfield Consultants Ltd
|
|
|
|
|
Hi,
I designed one window form in that 4 text box(ID, Name,Designation,Contactno,) and one drop down box("Visible", "Invisible") and two button call "Add value","Search" .
And gridview to add value from text and drop down control.
1.The value which I enter in text box and value selected from drop down box, should be get added in gridview as soon as I enter "Add" button.
2.I will write name in text box and click on "search" button to search other information from gridview.
I don't know wht to write code without using db,
Plz help me to solve this problem
Thanks in advance
Ashwini
|
|
|
|