This application demonstrates how to use computer vision to detect and measure the approximate size (length and width) of parts moving on an assembly line. Using a camera mounted above the assembly line belt, this application monitors the parts and sends a visual alert if it detects an over- or under-sized part.
Gain insight into the following solutions:
Computer vision applications for IoT
Inference to analyze datasets
Industrial market IoT
Learn to build and run an application with these capabilities:
❶ Track mechanical part count and size.
❷ Alert users if an irregularly sized part is detected.
❸ Interpret data from either a live webcam or preexisting video.
How It Works
This object size detector works with a video source, such as a camera.
❶ The application captures video frames and processes the frame data with OpenCV algorithms.
❷ It detects objects on the assembly line and calculates the area (length x width) that the objects occupy.
❸ If the calculated area is not within a predefined range, as specified via command line parameters, the application visually alerts the assembly line operator.
❹ Optionally, the application sends data to a message queuing telemetry transport (MQTT) machine, or machine messaging server, as part of an assembly line data analytics system.