This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

how to comnect the Webcam automaticly

Well i am an inactive user so i am trying to share smth very valuable.

I have working sauce code written by me in C to connect webcam automaticly and it gets a frame when you want. Also if you want you can get frames using loops. This source code is a fundemental stone for all image processing projects.
Only thing you have to is call this code from your source code while your webcam is running.
but I dont know how to connect webcam to processor! I tried connecting to the port pins but it didnt work properly. do I Need To connect to the UsB Pins of the processor? but I cannot find the usb connector?

If You Can Help me I Will Let You have Some of my Code.

Parents
  • Your code - written by you - works, but you do not know how, because you do not know how you will get any data into the processor...

    You haven't told what processor.
    You haven't told what camera.
    You don't seem to have read the camera manual (should tell what electrical interface it has).
    You don't seem to have read the processor manual (should tell if the processor has any compatible electrical interface, or if you need external hardware - or if you need to switch to another processor).

    How can your code work, if you don't even know if you processor has USB support? By the way, does that mean that your camera is using an USB interface?

    Define working code? Most people define it as "proven in real life". That shouldn't be the full definition, but at least a starting point for working code. If you haven't proven that your code can take dat from the camera and forward wherever it should be forwarded, then you do not know if your code works. You may possibly define working code as possible to compile, or "in theory written" or something like that.

    Before you start writing code, you must have a plan. That plan must (!) include how you connect camera and processor - without that knowledge, it is impossible to write the code, other than possibly as "pseudo-code".

Reply
  • Your code - written by you - works, but you do not know how, because you do not know how you will get any data into the processor...

    You haven't told what processor.
    You haven't told what camera.
    You don't seem to have read the camera manual (should tell what electrical interface it has).
    You don't seem to have read the processor manual (should tell if the processor has any compatible electrical interface, or if you need external hardware - or if you need to switch to another processor).

    How can your code work, if you don't even know if you processor has USB support? By the way, does that mean that your camera is using an USB interface?

    Define working code? Most people define it as "proven in real life". That shouldn't be the full definition, but at least a starting point for working code. If you haven't proven that your code can take dat from the camera and forward wherever it should be forwarded, then you do not know if your code works. You may possibly define working code as possible to compile, or "in theory written" or something like that.

    Before you start writing code, you must have a plan. That plan must (!) include how you connect camera and processor - without that knowledge, it is impossible to write the code, other than possibly as "pseudo-code".

Children