|
Wow, you don't want much.
It is the thing that the secret services would like.
They have billions, what is your budget?
------------------------------------
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 League Table Link
CCC Link[ ^]
|
|
|
|
|
Did you even read my reply?
|
|
|
|
|
yes i read your reply but i still think i can do it if i get some help.
i am not discouraged.
|
|
|
|
|
Use the built-in libraries.
Hand-rolling your own will be more complicated than you can handle, especially given you have stated the calculus required is too hard.
|
|
|
|
|
You are seriously telling me that in all your mad googling you didnt come across this article post here on the CP?[^] ..... your google skills are weak dude
Don't comment your code - it was hard to write, it should be hard to read!
|
|
|
|
|
yes i have seen this article but he has used built in library as well. that bilt in library is AForge.net.
and the main thing has been done by this library.
i would suggest that person to use EmguCV inplace of AForge.net.
so he could detect face in very few lines of code.
|
|
|
|
|
inayathussaintoori wrote: i would suggest that person to use EmguCV inplace of AForge.net.
Since you know the solution you really don't need any help here then.
Just say 'NO' to evaluated arguments for diadic functions! Ash
|
|
|
|
|
HAHA ... exactly what i thought, cudos for saying it
Don't comment your code - it was hard to write, it should be hard to read!
|
|
|
|
|
i know how to detect face and recognize by built in libraries like OpoenCv Aforge.net etc...
but i don't want to use any built in library. i want to do it without any buit in library.
|
|
|
|
|
Then you are going to have to pick up a few math books and actually learn and understand the math that goes into such a daunting task.
Don't comment your code - it was hard to write, it should be hard to read!
|
|
|
|
|
sir very strange idea. i am good at math not too bad as you thought. but if you see the math and process of algorithms, so you won't understand that what is it saying.
|
|
|
|
|
inayathussaintoori wrote: very strange idea
Not sure if it's a bad idea ... when taking on such a complex task (mathematically) it would be wise to educate oneself to the point of actually understanding the complex mathematical algorithms that you are going to need to *write yourself*. I'm afraid attempting to write the code (and by extension the math) on your own without the use of a 3rd party library and no extensive knowledge on the topic will result in utter failure.
inayathussaintoori wrote: i am good at math not too bad as you thought.
I never said you were bad and i did not mean to imply that you are, however this is very advanced math and I for one don’t even know where to begin.
inayathussaintoori wrote: but if you see the math and process of algorithms, so you won't understand that what is it saying.
I don’t need to see them to know they are going to be way above my head and would require me to actually research and learn the algorithms that are required.
....
All in all, you MUST understand the math to write the code.... i could try and write some German but not knowing any German I’m sure it would just be gibberish
Don't comment your code - it was hard to write, it should be hard to read!
|
|
|
|
|
|
inayathussaintoori wrote: i don't want to use any built in library. i want to do it without any buit in library.
Then, as many people have been trying to tell you, you will have to write all the code yourself that is currently provided by the libraries. If you have the skills to do this then I am sure you will find it a very satisfying task. If you do not have the skills then I think you will find it a very frustrating experience. This is not meant to be a judgement on your abilities, it is merely a statement of the reality of the problem you have set yourself.
Just say 'NO' to evaluated arguments for diadic functions! Ash
|
|
|
|
|
Hey All,
I posted yesterday about dynamic reference and attaching to the AssemblyResolve event. The suggested solution i received is/was great however; that suggestion only seems to function for both Windows and Web Applications and the project i am working on is a Class Library with a few classes that inherit from the 'Dynamic Reference'. I can get it to work if i use a wrapper around my class library but unfortunately this is not going to work for the final product.
Here is a sample of what i have working for Windows/Wed Applications;
based on the reply from Ennis Ray Lynch, Jr.[^]
public class AssemblyResolver
{
private bool mLoading = false;
public AssemblyResolver(AppDomain appDomain)
{
appDomain.AssemblyResolve += new ResolveEventHandler(OnAssemblyResolve);
}
private Assembly OnAssemblyResolve(object sender, ResolveEventArgs args)
{
Assembly result = null;
if (!mLoading)
{
try
{
mLoading = true;
if (args.Name.Contains([My Dynamic Reference]))
{
result = Assembly.LoadFrom(findDir() + "\\[Library].dll");
}
}
finally
{
mLoading = false;
}
}
return result;
}
}
Usage:
AssemblyResolver res = new AssemblyResolver(AppDomain.CurrentDomain);
Any help or advice would be greatly appreciated, you can find my original post here[^]
TIA,
Don't comment your code - it was hard to write, it should be hard to read!
|
|
|
|
|
How would you inherit from a dynamic reference? Perhaps, as much as I hate to quote patterns, the wrapper pattern will help you as well as the new dynamic keyword (at the expense of static type checking)
http://en.wikipedia.org/wiki/Adapter_pattern[^]
|
|
|
|
|
Thx for the reply Ennis,
Let me explain in greater detail for you.
I am developing a plug-in for Sage CRM, the plug-in needs to implement/inherit from Sage.CRM.Wrapper.IeWareBlock located in the SageCRMWrapper.dll. At design time i can have a reference to the SageCRMWrapper.dll, but at run-time i would like the reference to the SageCRMWrapper.dll to be dynamic as Sage releases patchs all the time that will not effect my plug-in but cause me to rebuild/re-deploy to all the clients using the plug-in.
so here is a sample class;
public class myBlock : Sage.CRM.Wrapper.IeWareBlock
{
public myBlock()
{
AssemblyResolver res = new AssemblyResolver(AppDomain.CurrentDomain);
}
}
obviously this solution fails, because when the framework goes to create this class it fails because the constructor has not been called which is where i wire the AssemblyResolve event.
Ofcourse if there is a change to the Interface i would need to rebuild to implement the changes to the interface.
I'm not sure how using dynamics will help out here, but im really not that familiar with them so it is very likely i am wrong.
Thanks again for the reply.
Don't comment your code - it was hard to write, it should be hard to read!
|
|
|
|
|
I think the problem is: AssemblyResolver res = new AssemblyResolver(AppDomain.CurrentDomain); needs to be called when your application starts not when your module is loaded. That is why the AssemblyResolved isn't working. When the constructor for myBlock is called the .NET runtime tries to load the assembly before getting to your constructor. AFAIK you have to bind the Assembly event before the run time tries to resolve the assembly.
|
|
|
|
|
Which is my problem, this class will be instatiated by a Classic ASP Website (Sage CRM) which i cannot control so i cannot modify it to wire to the AssemblyResolve event ...
Don't comment your code - it was hard to write, it should be hard to read!
|
|
|
|
|
Hi,
I am developing an internet cafe software using C# and I want to know how can I Lock the PC from the server or based on a time.. but basically I want the whole screen to be covered by a form and user can't do anything in the PC unless the form is gone by whatever way I define.
Thanks,
Jassim
|
|
|
|
|
Blocking someone from the server is fine. Preventing me from using my PC would only get you an a$$ beating, or at least a lawsuit You may want to rethink that strategy.
Everything makes sense in someone's mind
|
|
|
|
|
The easiest way is to create a service on the administrator account that monitors the process and then if a user ever forcefully closes your form the service will reopen it. However, be warned, Boy's in public libraries will bypass it.
|
|
|
|
|
Look into using thin/zero clients rather than full PCs.
|
|
|
|
|
Pls i want to create a COM object, that has Protected methods.
pls how do i achieve this.
Thanks.
|
|
|
|
|
What do you mean by protected methods? Try and explain what problem you are trying to solve and perhaps someone can make a suggestion to help you.
Just say 'NO' to evaluated arguments for diadic functions! Ash
|
|
|
|