Webcam vs. machine vision camera

Webcams aren’t (yet) found in Cracker Jack boxes, but they are very inexpensive. And they seem to perform ok for Zoom meetings or rendering a decent image of an office interior. So why not just use a webcam as the front end for a machine vision application?

Before we dig in to analysis and rationale, let’s motivate with the following side-by-side images of the same printed circuit board (PCB):

Machine vision camera and lens vs. webcam – Courtesy 1stVision

Side-by-side images

In the image pair above, the left image was generated with a 20MP machine vision camera and a high resolution lens. The right image used a webcam with a consumer sensor and optics.

Both were used under identical lighting, and optimally positioned within their specified operating conditions, etc. In other words we tried to give the webcam a fair chance.

Even in the above image, the left image looks crisp with good contrast, while the right image has poor contrast – that’s clear even at a wide field of view (FOV). But let’s zoom in:

Clearly readable labeling and contact points (left) vs. poor contrast and fuzzy edges (right)

Which image would you prefer to pass to your machine vision software for processing? Exactly.

Machine vision cameras with lens mounts that accept lenses for different applications

Why is there such a big difference in performance

We’re all so used to smartphones that take (seemingly) good images, and webcams that support our Zoom and Teams meetings, that we may have developed a bias towards thinking cameras have become both inexpensive and really good. It’s true that all cameras continue to trend less expensive over time, per megapixel delivered – just as with Moore’s law in computing power.

As for the seemingly-good perception, if the images above haven’t convinced you, it’s important to note that:

  1. Most webcam and smartphone images are wide angle large field of view (FOV)
  2. Firmware algorithms may smooth values among adjacent pixels to render “pleasing” images or speed up performance

Most machine vision applications, on the other hand, demand precise details – so firmware-smoothed regions may look nice on a Zoom call but could totally miss the defect-discovery which might be the goal of your application!

Software

Finally, software (or the lack thereof) is at least as important as image quality due to lens and sensor considerations. With a webcam, one just gets an image burped out, but nothing more.

Conversely, with a machine vision camera, not only is the camera image better, but one gets a software development kit (SDK). With the SDK, one can:

  • Configure the camera’s parameters relative to bandwidth and choice of image format, to manage performance requirements
  • Choose between streaming vs. triggering exposures (via hardware or software trigger) – trigger allows synchronizing to real world events or mechanisms such as conveyor belt movement, for example
  • Access to machine vision library functions such as edge detection, blob analysis, occlusion detection, and other sophisticated image analysis software

Proprietary SDKs vs. 3rd party SDKs

Speaking of SDKs, the camera manufacturers’ are often very powerful and user friendly. Just to name a few, Teledyne Dalsa offer Sapera, Allied Vision provides Vimba, and IDS Imaging supports both IDS Lighthouse and IDS Peak.

Compare to Apple or Microsoft in the computing sector – they provide bundled software like Safari and Edge, respectively. They work hard on interoperability of their laptops, tablets, and smartphones, to make it attractive for users to see benefits from staying within a specific manufacturer’s product families. Machine vision camera companies do the same thing – and many users like those benefits.

Vision standards – Courtesy Association for Advancing Automation,

Some users prefer 3rd party SDKs that help maintain independence to choose cameras best-suited to a given task. Thanks to machine vision industry standards like GigE Vision, USB3 Vision, Camera Link, GenICam, etc., 3rd party SDKs like MATLAB, OpenCV, Halcon, Labview, and CVB provide powerful functionality that are vendor-neutral relative to the camera manufacturer.


For a deeper dive into machine vision cameras vs. webcams, including the benefits of lens selection, exposure controls, and design-in availability over time, see our article: “Why shouldn’t I buy a $69 webcam for my machine vision application?” Or just call us at 978-474-0044.

In summary, yes a webcam is a camera. For a sufficiently “coarse” area scan application, such as presence/absence detection at low resolution – a webcam might be good enough. Otherwise note that machine vision cameras – like most electronics – are declining in price over time for a given resolution, and the performance benefits – including software controls – are very compelling.

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

ECS cost efficient 3D sensor series

Automation Technology GmbH announces the ECS series, where ECS means Eco Compact Sensor. Using less expensive optics and sensors, the standardized pre-configured offering is more than good enough for many applications. And priced to pass the lower-cost component savings on to the customer.

ECS 3D sensors – Courtesy Automation Technology GmbH

Ideal for applications in food, logistics, and robot vision, the sweet spot is performance that’s good enough to add value and get the job done, without having to purchase components needed for even higher performance. ECS sensors use the principle of laser triangulation to create a 3D point cloud.

Resolution and speed.

ECS delivers 2048 points per profile, at up to 43 kHz. Compare that to AT’s higher end scanners with up to 4096 points per profile, and speeds to 204 kHz.

Field of View (FoV)

Initial ECS series members are offered at 100 or 160mm FoVs, with other options planned for release.

Compact design

At only 0.65kg, about 1lb in weight, ECS 3D compact sensors can be easily integrated into many applications.

Software integration

Automation Technology’s AT Solution package makes it easy to configure your sensor. The SDK provides options for C, C++, and Python. The GigE Vision / GenICam interface means users may also choose any software compliant with those popular industry standards.

Applications

As mentioned above, food/beverage, logistics, packaging, and robotics are just a few of the suggested application areas.

Images above courtesy of Automation Technology

Three 3D sensor families: Value, Performance, and Modular

To put it in perspective, Automation Technology GmbH has expanded its 3D sensor portfolio with price : performance offerings at each of:

  • Value: ECS Series – compact, pre-calibrated, IP54 protection class, low cost
  • Performance: C6 Series – high-performance, pre-configured, IP67 protection, mid-priced
  • Modular: MCS Series – high-performance flexible configuration, IP67 protection
Comparing 3D Sensor Series – Courtesy Automation Technology GmbH

See an expanded comparison table at our website. But at a high level think of ECS as the value series. The C6 models offer high performance at a choice of resolutions. And the MCS is a modular unbundling of the C6 products – high-performance with flexible configuration.

What matters to you of course is your own application. And that’s what matters to us, too. As an independent distributor, we work for you. Tell us about your application, and we’ll guide to to the best-fit technology for your needs. Call us at 978-474-0044.

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

First of its kind! GigE Frame Grabber

A GigE frame grabber? What’s that about? Those who work with Camera Link or CoaXPress cameras need frame grabbers for frame transfer, but GigE?

Frame grabbers use an industry standard PCI Express expansion bus to deliver high speed access to host memory for images. They get the image from the camera, via the cabling and frame grabber, at high speed, into the host, for processing.

But I already do GigE Vision without this so why might I want one?

  • Avoid corrupted images arising from lost packets
  • Reduce CPU load
  • Synchronize images from multiple cameras
  • Perform color conversion in the frame grabber rather than the host

The full name of DALSA’s GigE frame grabber series is Xtium2-XGV PX8. It’s available in both dual and quad configurations, as shown in the image below.

Dual and quad Xtium2-XGV PX8 frame grabbers – courtesy Teledyne DALSA

More than an adapter card

The Xtium2-XGV PX8 image acquisition cards use a real-time depacketization engine to create a ready-to-use image from the GigE Vision image packets. With packet resend logic built in, image transfer reliability is enhanced. And host CPU load is reduced. So already we see two benefits.

But wait there’s more!

Supporting up to 32 cameras, these boards aggregate input bandwidth of 4 GByte/s and up to 6.8 GBytes/sec output bandwidth to the host memory. They can also perform on-board format conversions like Bayer to RGB, Bi-color to RGB, etc.

So it’s really an “Aggregator-conditioner-converter-pre-processor”

Exactly! Which is why we call it a frame grabber for short.

Psst! Wanna see some specs?

Summary of XTIUM2-XGV PX8 key specifications

Free software

Acquisition and control software libraries are included at no charge. Teledyne DALSA’s Sapera LT SDK. Hardware independent by design, Sapera LT offers a rich development ecosystem for machine vision OEMs and system integrators.

Sapera LT SDK screenshots – courtesy Teledyne DALSA

So do you need one or want one?

So an Xtium2-XGV PX8 frame grabber is an aggregator-conditioner-converter-pre-processor. It accepts multi-port GigE Vision inputs, improves reliability, optionally does format conversions, and reduces load on the host PC. If your prototype system is struggling without such a frame grabber, maybe this is the missing link. Or maybe you want to get it right on the first try. Either way, tell us more about your application, and we’ll help you decide if this – or some other approach – can help. We love partnering with our customers to create effective machine vision solutions. Call us at 978-474-0044!

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

Automation Technology Solution Package

Automation Technology GmbH, or AT for short, is a leading manufacturer of 3D laser profilers, and also infrared smart cameras. As customary among leading camera suppliers, AT provides a comprehensive software development kit (SDK), making it easy for customers to deploy AT cameras. AT’s Solution Package is available for both Windows and Linux. Read on to find out what’s included!

Graphic courtesy of Automation Technology GmbH.

Let’s unpack each of the capabilities highlighted in the above graphic. You can get the overview by video, and/or by our written highlights.

Video overview

Courtesy Automation Technology GmbH

Overview

AT’s Solution Package is designed to make it easy to configure the camera(s), prototype initial setups and trial runs, proceed with a comprehensive integration, and achieve a sustainable solution.

cxExplorer

Configuration of a compact sensor can be easily done with the cxExplorer, a graphical user interface provided by AT – Automation Technology. With the help of the cxExplorer a sensor can be simply adjusted to the required settings, using easy to navigate menus, stepwise “wizards”, image previews, etc.

APIs, Apps, and Tools

The cxSDK tool offers programming interfaces for C, C++, and Python. The same package work with all of Automation Technologies 3D and infrared cameras.

Product documentation

Of course there’s documentation. Everybody provides documentation. But not all documentation is both comprehensive and user-friendly. This is. It’s illustrated with screenshots, examples, and tutorials.

Metrology Package

Winner of a 2023 “inspect” award, the optional add-on Metrology Package can commission a customer’s new sensor in just 10 minutes, with no programming required. Then go on to create an initial 3D point cloud, also with little user effort required.

Screenshot of Metrology Explorer – courtesy Automation Technology GmbH

For more information about Automation Technology 3D laser profilers, infrared smart cameras, or the Solution Package SDK, call us at 978-474-0044. Tell us a little about your application, and we can guide you to the optimal products for your particular needs.

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