Why shouldn’t I buy a $69 webcam for my machine vision application?

IDS uEeye camera

This is a question we get asked frequently: “Why should we pay $200 plus for your board level machine vision camera when we can just get a webcam for $69?”

A great question and maybe you can, but what ARE the differences?

Basically, there are just a few questions you need to answer to see if you should use a webcam for you machine vision application which are as follows:

  1. Do you need to program to integrate the video into an application with processing or control?
  2. Do you need consistent image quality?
  3. Are you doing computer vision (the computer is making decisions based on the images) or are you just viewing the images visually?
  4. Do you care if the camera specifications change over your product’s life cycle?
  5. Is the object under inspection moving?
  6. Do you need to control when you take the picture or interface to a trigger or strobe?
  7. Do you need to be able to choose what lens you will need?

If the answer to any of the above are YES, then a webcam will NOT work well or at all for your application. If the answers are NO, then by all means, you might be able to save money and just use a low-cost webcam. (You can stop reading here if you want, or continue for more details below).

Machine Vision Camera Software

Webcams do NOT come with a SDK as they are made to show video only. They normally provide a universal video driver, and also an application for viewing video.

Industrial machine cameras come with a SDK programmable in C/C++/C#/etc. It allows you to programmatically control the camera for both data acquisition and control of the camera’s parameters. (Example HERE to show extensive support of various operating systems and download)

Moving objects

Webcams have rolling shutter sensors which mean they cannot acquire images of moving objects without ‘smearing’ them. Industrial machine vision cameras use sensors with global shutters providing the ability to freeze the image to produce non smeared images of moving objects.

Example: Without adequate shutter speed with a global shutter, image will be blurry with motion

Trigger and Strobe Control

Webcams only have an interface to the USB data, whereas industrial machine vision cameras have hardware and software inputs and outputs. These allow for exact timing for a trigger to take a picture and a strobe to illuminate the object.

Example: External trigger control is tightly timed with IO including light flash. Courtesy of IDS Imaging

Camera Specs Changing over time

Webcams just need to show you video! In turn the manufacturers are not concerned if the sensors inside the camera change every six months. Whether the sensitivity changes by 10% makes no difference when you are just video conferencing with Grandma.

Industrial machine vision cameras are made with image sensors that don’t go obsolete every 6 months, but rather companies hope for 10 year life spans. It makes a huge difference if you are doing a computer vision algorithm that you have 5 man years of software development and the sensor’s sensitivity changes by even 1%.

Furthermore, the form factor of webcams change frequently as well. This doesn’t make a difference when it is just on your desk. It makes a huge difference when your camera and lens is fixtured in a machine that has 500 hours of CAD work to design, much less build. Moving the camera and lens 10cm might not be possible!

Do you need to choose your lens?

Webcams come with an integrated lens that is suitable for general viewing, and this lens is integrated with the camera and not changeable. Industrial machine vision cameras come with no lenses as not only do lenses come in a variety of focal lengths for different magnification, but also lenses coming in a variety of resolutions. Choosing a lens requires you to know the size of the sensor, your working distance, your field of view, and the pixel size. (See related educational blogs on lenses at end of this post)

What are your options for a low cost camera solution?

If you need industrial machine vision camera solutions with a solid SDK, long life cycles, at a low price, there several solutions to consider. Rolling shutter imagers are always lower price which are always a place to start along with USB2 interfaces. Read our previous blog HERE which outlines some specific models which are low cost. There is also a great new platform coming providing 5 Megapixel resolution with a rolling shutter imager, but with great performance for $280! Contact us for more details.

Click to contact
Give us some brief idea of your application and we will contact you to discuss camera options.

1st Vision’s sales engineers have over 100 years of combined experience to assist in your camera selection.  With a large portfolio of lenses, cables, NIC card and industrial computers, we can provide a full vision solution!

Ph:  978-474-0044  /  info@1stvision.com  / www.1stvision.com

Related Posts

Everything you need to know about 10GigE Vision cameras! – White Paper

10 GigE Vision compliant cameras are easy to integrate enabling more machine vision applications and image processing. Camera image sensors have continued to increase in resolution which requires higher bandwidth interfaces to achieve high frame rates. 10 GigE cameras are a great solution as implementation is less costly and complex versus camera link and CoaxPress.

Baumer has a comprehensive white paper outlining application benefits for 10GigE Vision and gives recommendations on system architecture – Downloaded HERE

Aside from the features of 10GiGE Vision, the Baumer VLXT series cameras are extremely feature rich and cost competitive making them an excellent choice for 10GigE Vision cameras.

11 Key Features are listed below with many being unique, solving more vision applications in 10 GigE Vision cameras


1 – True 10GigE bandwidth! –
2 – Liquid lens & Canon EF mount control
3 – Exposure times down to 1uS with Sony Sensors
4 – Power outputs (4x) for direct driving LED lights eliminating a lighting controller.
5 – IP67 Ratings and extended temperatures for harsh environments
6 – IEEE 1588 Precision Timing protocols for synchronized timing with multiple devices.
7 – Long cable lengths up to 55 meters (Cat 6) and 70+ meters with Cat 6a / 7 and longer with optional fiber optic interface.
8 – Standard low cost 10GigE NIC’s can be used opposed to some manufacturers requiring special NICs
9 – Fully GigE Vision compliant for easy implementation with the benefits of high bandwidths. Allows support of third party software libraries.
10 – RS232 support
11 – On board JPEG compression available

Full specifications on the Baumer VLXT cameras which range from 3 megapixels to 12 megepixels can be found HERE

1st Vision’s sales engineers have over 100 years of combined experience to assist in your camera selection.  With a large portfolio of lenses, cables, NIC card and industrial computers, we can provide a full vision solution!

Ph:  978-474-0044  /  info@1stvision.com  / www.1stvision.com

Guide to understanding Machine Vision interface standards

Machine Vision standards have evolved providing defined models of how industrial cameras communicate to a PC allowing easier implementation of machine vision technology. Vision systems can be made up of cameras, frame grabbers and vision libraries from various manufacturers. The vision standards provides compatibility between the various manufacturers for easy implementation.

Machine vision applications require some basic tasks of finding and connecting to the cameras, configuring parameters, acquiring images and dealing with events to and from the cameras.

machine vision interface  - GENICAM

In order to provide cameras from various manufacturers to work together with 3rd party software and hardware from other manufacturers and provide the tasks above, a standard must be followed. “GenICam” is the basis for this standardization, providing compatibility using a Generic Transportation layer and Generic Application programming interface. These are referred to as “GenTL” and “GenAPI” respectively. GenTL provides the communication layer and GenAPI enables camera features to be configured by analyzing a compliant XML file for the camera.

Camera manufacturers however provide unique independent features providing various advantages from one to another. Creating these unique features blur the lines of the standard, not always making a camera fully compatible with another manufacturers software. For example, an industrial camera may use the GenTL layer to be recognized but may have special features making it unique as well.

This can be very confusing to understand! IDS Imaging has a white paper explaining the machine vision interface standardization, GenTL, GenAPI and the system architecture . CLICK BELOW NOW TO DOWNLOAD!

Download here
Click to download

1st Vision’s sales engineers have over 100 years of combined experience to assist in your camera selection.  With a large portfolio of lenses, cables, NIC card and industrial computers, we can provide a full vision solution!

Ph:  978-474-0044  /  info@1stvision.com  / www.1stvision.com

Click to contact

Related Blogs & Technical resources

Imaging Quick ref Poster

Quick Reference Imaging poster download

What cables should I use with a machine vision camera?

While not an exact figure, we would estimate that about half our client’s problems with machine vision camera connections, dropped frames, etc. comes back to a cabling issue. This is especially true for USB and GigE cameras.

In most of these cases, the issue is that the user is using a poor/low quality cable that was not made for the high speed and/or long distance demands of the application. Most inexpensive camera cables available via mail order are not made for use in high speed highly reliable data transfer applications. If your phone isn’t transferring at the full USB3 bandwidth, you normally don’t care. You probably don’t even know. But when you purchase a high speed USB3 camera and you can’t achieve its full frame rate, or you achieve it intermittently, this becomes a big issue.

This is the reason 1stVision offers ‘machine vision/industrial’ USB3 and GigE cables.  These cables are tested to specs, come with screw locks to prevent the connectors from falling out, use larger gauge wire, are over molded.  They are designed to be twisted and bent (somewhat) and are industrial!

Signal amplitude (the voltage of the signal in the cable) is a function of distance and frequency for cables. For instance, Ethernet is specified to 100 meters.  So your cable should work when each device is 100 meters away.  However, without the proper cable, you will not maintain the full 1000 Mbits/s data transfer rate!  You might only be getting 50% of the speed depending upon the distance without a high quality cable.

Finally, consider the cost if your machine vision camera is part of an instrument or product that is being sold to your clients.  We see far too many clients who try to save $30 on the cable only to find out that it is costing them thousands of dollars to trouble shoot a problem that can be easily solved with the proper part.  Not to mention the cost to their client when the system isn’t working, and a hit to their reputation of not building a reliable system.Alysium

Here is our advice:

  1. If you are in an industrial setting, you are compromising the reliability and robustness of your system if you are not using an ‘industrial cable’.  Even if you are not operating at maximum speed of the camera, you should have these cables.  BTW, these cables are not that much more expensive mail order cables.  They are in the 10’s of dollars, but not in the 1’s of dollars.
  2. If you are using USB3 cables, you should really be using ‘industrial’ cables.  Current ‘inexpensive’ USB3 cables are not reliable at over 2M, and only 1M for USB C connector types.  If you are using USB3 specifically to get the higher speeds from this protocol, then you absolutely need to be using ‘industrial’ cables.  Inexpensive cables are not reliable for high speed data transmission.
  3. If you are in a lab environment, with the cable never moving, and only going a short distance, then a high quality ‘inexpensive’ Cat 6e cable will work.  There is a difference between inexpensive Ethernet cables.  The one that came with the security camera all folder up is NOT what you should use. A reputable mail order cable vendor selling high quality patch cables is OK.

CLICK HERE to get  GigE Cable specs and get a quote

CLICK HERE for USB3 Cable specs and get a quote

Don’t be penny wise and pound foolish. At 1stVision, we offer these cables not to enrich ourselves, there is not much profit in a $30 cable, but rather to make sure our clients systems work well.

 

1st Vision’s sales engineers have over 100 years of combined experience to assist in your camera selection.  With a large portfolio of lenses, cables, NIC card and industrial computers, we can provide a full vision solution!

Contact us to help in the specification and providing pricing

Ph:  978-474-0044  /  info@1stvision.com  / www.1stvision.com

Related Blogs & Technical resources

Imaging Quick ref Poster
Quick Reference Imaging poster download