Raspberry Pi detects factory defects with machine learning

The folks at Modzy got in touch to tell us about their defect detection platform that uses Raspberry Pi Zero W and a Raspberry Pi Camera Module to pick up mistakes on factory production lines. Their message specifically stated their love for Raspberry Pi, so I was sold.

Modzy deploys machine learning models in the cloud and at the edge. They built the demo above to show their manufacturing customers how easy and affordable it is to detect defects using machine learning in a factory.

How it works


Edward Scissorhands’ cookie production line might have been more efficient with Modzy’s help

A Raspberry Pi Camera Module acts as the eyes of the production line monitor, feeding real-time images from the production line. A computer vision model analyses the images to detect broken teeth, scratches, and dents in 3D-printed spur gears as they roll through on the homemade “conveyer belt”. When the model detects a defect, Modzy’s system updates and timestamps a log, recording what was wrong with the spur gear and exactly when it rolled past the detection point on the production line.

Low-cost efficiency

This defect detection platform cost less than $150 to build.

Modzy is particularly proud that this model achieved three out of three on speed, security, and cost:

  • It’s fast thanks to low-latency GPU-powered inference (meaning it can spot defects as quickly as the production line rolls)
  • It’s secure, since it can operate completely offline
  • It’s cost effective, since no cloud computing is needed and the hardware is affordable

More machine learning from Modzy

The Modzy folks are big into Raspberry Pi for machine learning and have built two other apps:

Print Friendly, PDF & Email

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Server Status

Aradippou Chat 1 Chat 2 Larnaca Limassol Nicosia

Chat Links

Official Links.

1. Chat 1.
2. Chat 2.

Alternative Mirror Links.

1. KiwiIRC 1.
2. KiwiIRC 2.

Other Web Clients.

1. IrcCloud.

Recent Posts

Related Posts:



Super Club Radio

Mighty Deals


CyIRC Tweets

Scroll Up
Fatal error: Uncaught WMAC\JSMin_UnterminatedStringException: WMAC\JSMin: Unterminated String at byte 1180: "+o.accessToken}}).then(e=>{if(!e.ok)throw e;return e});return a.catch(e=>{console.error(`Failed to logout chatrix session. deviceId: ${o.deviceId}`)}),a}})(); in /home/bszucbfe/public_html/wp-content/plugins/clearfy/components/minify-and-combine/includes/classes/ext/php/jsmin.php:215 Stack trace: #0 /home/bszucbfe/public_html/wp-content/plugins/clearfy/components/minify-and-combine/includes/classes/ext/php/jsmin.php(157): WMAC\JSMin->action(2) #1 /home/bszucbfe/public_html/wp-content/plugins/clearfy/components/minify-and-combine/includes/classes/ext/php/jsmin.php(96): WMAC\JSMin->min() #2 /home/bszucbfe/public_html/wp-content/plugins/clearfy/components/minify-and-combine/includes/classes/class-main.php(375): WMAC\JSMin::minify('(function(){"us...') #3 /home/bszucbfe/public_html/wp-includes/class-wp-hook.php(310): WMAC_PluginMain->jsSnippetcacher('(function(){"us...', '/home/bszucbfe/...') #4 /home/bszucbfe/public_h in /home/bszucbfe/public_html/wp-content/plugins/clearfy/components/minify-and-combine/includes/classes/ext/php/jsmin.php on line 215