Machine learning (deep learning) and neural networks

Advanced image analysis using deep learning methods also enables camera inspections in machine vision applications where conventional methods cannot be used.

ikona pro řešení deep learning (neuronové sítě)

Our company has extensive experience in the application of classical image processing methods and since 2018 we have been intensively involved in the use of deep learning methods in machine vision. By combining this knowledge with good knowledge of camera system components, we are able to successfully solve complex machine vision tasks with a wide variety of customer requirements.

Typical application

ikona - robotické rameno nad výrobní linkou - výrobní průmysl
Manufacturing industry
ikona - dopravní systémy - auto u kterého se kontrolují různé části
Automotive industry
ikona - mikroskop
Science and research

Deep learning methods, sometimes also reffered to as neural networks, which are a part of a broader category of algorithms known as machine learning, are able to learn from sample image data how to properly evaluate the data. Instead of inventing and programming complex rules, a special training algorithm is able to “learn” these rules and dependencies on its own. This is done by presenting (usually many) sample images to the training algorithm, along with the correct results. The output of the training is then a so-called neural network model, which is used to evaluate all other (i.e., even the model’s “previously unknown”) images.

While deep learning methods can greatly simplify the solution of many more complex machine vision tasks, their proper deployment also requires some expertise. Depending on the type of task, the type of model and possibly also the architecture of the neural network must be chosen correctly. Optimal model parameter settings, training methodology and correct annotation of sample images are also important. As with all machine vision tasks, the design of the correct image capture system (selection and optimal configuration of camera, optics and lighting) also plays a primary role. All these factors contribute significantly to the success of solving a machine vision task using deep learning methods.

Thanks to the fact that our experts have been working in the field of deep learning and neural networks for a long time and have tested their skills on many projects and studies, we can cope with very non-standard customer requirements.

Examples of using machine learning methods (deep learning)

Detection of knots and defects in wooden decking, detection of defects and stains on plaster and detection of objects, stains and other defects on fabric

Surface inspection and the detection of bumps, defects, but also scratches or dirt is one of the typical tasks for deep learning and neural network methods. Once a sufficiently large dataset is loaded, the neural network is able to teach itself to detect a variety of defects and material flaws that match the task.

Advantages and disadvantages of using deep learning methods

Benefits

  • It can also be used in problems with hard-to-define product defects where conventional methods fail.
  • With sufficient training data, machine learning can often achieve higher evaluation accuracy – i.e., when checking for defects, there is a lower rate of both undetected defects and false detections.
  • Universal adaptation to various changes in production (changes in material, product type, etc.) – unlike conventional methods, there is a straightforward and relatively fast solution by retraining the neural network model.
  • Enhanced defect analysis capabilities – deep learning provides greater capabilities not only in the detection of individual defects, but also in their classification (accurate defect classification is often not possible using conventional methods).
  • A uniform approach for different types of products and different types of controls on products.
  • The model can be taught continuously with production, the change of the learned model is solved by loading one model file – it can be done even in full operation.
  • Advanced methods can be used to detect defects that are difficult to detect by eye, such as cracks on solar panels, chips, wafers, etc.
  • By varying the position of the object, it allows you to select the region of interest (ROI) even if its boundaries are blurred, partially overlapped, or complexly defined, this allows you to focus only on the area of the image of interest each time and thus significantly refine its evaluation.

Disadvantages

  • The process of training models is random, so no two models can ever be trained for the same training data (However, the image evaluation itself is already strictly deterministic).
  • Deep learning cannot be applied to evaluations based on precise measurements of the dimensions and angles of a given object; conventional image processing methods must be used here.
  • To successfully train the model, it is necessary to have a certain number of images for each category (the so-called dataset) – for example, with conventional methods we are able to design an algorithm to detect a certain product defect even if there is only one sample of this defect. In deep learning this is not possible, an adequate number of pieces of each defect must be available (usually at least around 10 pieces).
  • A neural network model is a “black box” that you cannot look into and see why it evaluated a given image with a particular result and not otherwise. There are, however, visualization tools – called probability maps – that provide at least partial insight into the model’s “decision-making” process.
  • Slightly higher price for special software applying deep learning methods – this is relative, however, because when evaluating with conventional methods there are higher costs for the development of image processing algorithms, or some tasks are not solvable at all.

Whether it is more appropriate to solve a machine vision task using deep learning methods or conventional tools depends on the type of task, sometimes it is advantageous to combine both approaches.

Free consultation
Use-case

Camera inspection of SMD components

The aim of the project was to create HW and SW for quality control of electronic SMD components. In addition to the requirement for high speed, it was necessary to check the component from all sides, which was not easy. The proposed solution also included the use of neural networks. With a total of 6 positions and calling 14 different neural networks (models), at an average speed of 3-4 pieces per second, a huge number of networks are called to achieve the desired goal and overall inspection of the SMD component.

The implementation of the project has replaced the subjective judgement of the quality engineer at the end customer and has led to a clear setting of quality parameters and production limits.

Do you need to consult a specialist?

Feel free to contact us directly or use the form below

Ostrava
Turnkey camera systems

Jan Durčák

Contact card

qr kód
Ostrava
Jablonec nad Nisou
System Integration Department
avatar - zástupný obrázek - muž

Turnkey solution

Contact card

qr kód

Free consultation

Let us help you solve your problem. Contact us and take your projects to the next level!

Kontakt Form [EN]

Other solutions

Checking the application of heat conductive paste and adhesive

Camera systems for quality control of the coating on the base part, on which the electronic part is subsequently deposited. The task is to check the quantity and distribution of the applied paste.

Solution detail

Inspection equipment for the production of automotive headlamps

The system checks the presence and correctness of parts and the completeness of the product during assembly, while allowing electrical and mechanical tests to be carried out.

Solution detail

Inspection of assembly and completeness of products

Camera system for checking the presence and correctness of parts during assembly and completion.

Solution detail