
Machine vision systems
Machine vision is a system that evaluates what a camera sees with software and makes decisions on the production line. This page explains what a system is made of, how resolution is worked out and which approach suits which application.
What is machine vision (industrial image processing)?
Machine vision means processing images taken by industrial cameras with software to make a decision about the product: is the part assembled correctly, is there a defect on the surface, are the dimensions within tolerance, can the code be read? The system answers these questions for every product within milliseconds and passes the result to the PLC, a robot or the plant network.
What sets it apart from visual inspection is repeatability: the system looks at the same product with the same criteria every time, does not tire and can store the image behind every decision. Faulty products are removed before they reach the customer, and the cause of a problem can be traced from the records.
System components: camera, lens, lighting, processor and software
A machine vision system has five parts, and the weakest link often decides the quality of the result.
- Camera
- Area-scan cameras capture a whole frame at once; line-scan cameras scan continuous moving material (fabric, paper, sheet metal, glass) line by line. Sensor resolution, pixel size, frame rate and interface (GigE, USB3, CoaXPress) are chosen for the application. In smart cameras the processor and software are inside the camera.
- Lens
- The lens sets the field of view and the working distance. Measurement applications use telecentric lenses: they have no perspective error, so a part's size in the image does not change as it moves closer or further away. The lens's resolving power must match the sensor's pixel size.
- Lighting
- Lighting affects image quality more than any other component. A backlight shows the part's silhouette; dome lighting removes glare on shiny and curved surfaces; low-angle (dark-field) lighting brings out scratches and embossing, and coaxial lighting the detail on flat, reflective surfaces. The right lighting makes the software's job easier.
- Processor
- Images are processed inside a smart camera, on an industrial PC or, for deep learning, on a system with a GPU. The choice depends on line speed, the number of cameras and the load of the algorithm.
- Software and communication
- Location, measurement, OCR/OCV, code reading and defect detection tools are in the software. The result is shared with the PLC over industrial protocols such as PROFINET, EtherNet/IP and Modbus TCP, or through digital outputs.
How is resolution calculated?
Choosing a camera starts with three values: the field of view (FOV), the smallest defect to find or the measurement tolerance, and the number of pixels that detail must cover. The size each pixel covers (mm per pixel) is the field of view divided by the sensor's number of pixels in that direction.
Example: we want to find 0.2 mm scratches on a 100 × 75 mm part. If at least 3 pixels should fall on a defect for it to be seen reliably, each pixel may cover at most 0.2 ÷ 3 ≈ 0.067 mm. To allow for variation in the part's position we make the field of view 10% larger, 110 × 82.5 mm, which needs about 110 ÷ 0.067 ≈ 1,650 pixels across and 82.5 ÷ 0.067 ≈ 1,240 down. A 5-megapixel sensor of 2,448 × 2,048 pixels meets this: it gives about 0.045 mm per pixel, and a 0.2 mm scratch covers about 4 pixels.
In measurement the calculation starts from the tolerance. A common rule is that the measuring system's error should not exceed a tenth of the tolerance. Subpixel algorithms can achieve repeatability better than one pixel, but only when lighting, lens and calibration are good. That is why we confirm the calculation on samples in measurement projects.
2D, 3D and deep learning: which one when?
- 2D machine vision
- When contrast and geometry are clear, it is the fastest and most predictable solution: presence checks, location, measurement, OCR/OCV and code reading. Its decision rules are explicit and easy to validate.
- 3D machine vision
- Used when height, depth, volume, flatness or tilt must be measured, or when contrast is poor (a black seal on a black part, for example). Laser profile sensors, structured light and stereo cameras build a three-dimensional map of the surface; robotic bin picking relies on this data too.
- Deep learning
- When a defect's shape, position and appearance vary, writing rules becomes hard: texture defects, natural materials, cosmetic flaws, hard-to-read characters. A deep-learning model learns from labelled example images; it needs a good data set and regular validation.
On most lines these approaches work together: 2D tools locate the part, deep learning classifies the defect and a 3D sensor measures height.
Applications
Examples of these applications in different industries can be explored in our simulations.
Surface defect detection
Scratches, stains, cracks, paint and coating defects on sheet metal, strip, glass, fabric, plastic and cast surfaces.
Iron & Steel simulationsMeasurement and gauging
Diameter, distance, angle, hole position and profile measurement, with telecentric optics and calibration.
Machinery & Industrial Equipment simulationsOCR/OCV
Reading text such as expiry dates, batch and serial numbers, and checking that it is correct.
Pharma & Medical simulationsBarcode and DPM code reading
Reading 1D and 2D codes, grading their quality, and traceability with codes marked directly on metal or plastic (DPM).
Automotive & Suppliers simulationsRobot guidance
Finding a part's position and orientation and passing it to the robot: picking from a belt or a bin, depalletising, assembly.
Logistics simulations
From feasibility to commissioning: how E3TAM works
Every project moves through four steps with measurable results.
- 01
Feasibility
Your sample is tested in our laboratory under real conditions; applicability is reported.
- 02
System Design
Resolution, camera, optics and lighting are selected by engineering calculation.
- 03
Build & Integration
Mechanical design, software and line integration are delivered turnkey.
- 04
Commissioning & Support
On-site commissioning, operator training and continuous technical support.
Frequently asked questions
How do we know in advance whether the system will work?
We test your samples in our İkitelli laboratory with a camera and lighting set-up close to your line's conditions. We share the results, the recommended hardware and the expected performance in a feasibility report, and move on to system design only after that.
Should I choose a smart camera or a PC-based system?
For inspection and code reading at a single point with ready-made tools, a smart camera is easy to set up and maintain. When the job needs several cameras, high resolution, complex algorithms or deep learning, a PC-based system (VisionPro, for example) is more flexible. We make the choice together, based on the feasibility results.
How many images does deep learning need?
It depends on the application. If the defect types are distinct and imaging conditions are stable, tens of images per class are enough to start; as products and defects vary more, hundreds may be needed. We work out how much data is needed with your samples during the feasibility study.
Can the system connect to my existing line and PLC?
Yes. Systems connect to the PLC, robots and plant network over industrial protocols such as PROFINET, EtherNet/IP and Modbus TCP, or through digital inputs and outputs, and are commissioned together with the reject mechanism and the logging system.
Do you provide support after commissioning?
Yes. We train your team to use the system and provide technical support for recipe changes when products change and for improving existing applications.
Let us assess your application together
We test your sample in our laboratory and report on resolution, optics and lighting selection.