Computer vision for object detection on a conveyor belt

The effective use of computer vision cameras is essential for accurate object detection on conveyor belts. Imagine a production environment where diverse products, ranging from fruits to automotive parts, are transported on a conveyor belt. This article will specifically explore the use of computer vision cameras for detecting eggs. By positioning a vision system above the conveyor belt, high-quality images can be captured to ensure that all eggs are counted and each crate at the end of the conveyor belt contains exactly 120 eggs. Additionally, eggs with abnormal spots should be filtered out. This guide will outline the five steps for selecting the appropriate computer vision camera hardware for your system. The advice is given by one of the machine vision experts of GeT Cameras, a business specialized in strong & reliable industrial camera technology for low pricing & great support.

Selecting a machine vision camera

GeT Cameras’ machine vision specialist began by recommending the 3MP USB3 camera, the ‘MER2-302-56U3C,’ for the customer’s object detection system. The camera was chosen due to the customer’s requirement to place it approximately 3 meters from the PC. An USB3 interface was suggested because it offers multiple advantages, including four times higher bandwidth compared to a Gigabit Ethernet interface camera. Moreover, USB3 cameras are generally more cost-effective and require only a single cable for both data transmission and power.

GeT Cameras’ industrial cameras are used in applications such as conveyor belt object detection and are available in both monochrome and colour. For this application, the customer opted for a colour camera to future-proof their system for potential colour differentiation in the spots.

A crucial decision involves selecting between a global shutter or a rolling shutter camera. Given that object detection must occur while the conveyor belt is moving, a global shutter camera was recommended. Global shutter cameras are ideal for capturing images of moving objects or in dynamic environments.

Determining the required camera resolution was the next step. The eggs are not consistently positioned on the conveyor belt and occupy an area of up to 300x240mm. To detect the smallest details, such as 0.5×0.5mm spots, a system resolution of 0.16mm/pixel is necessary, translating to a camera with at least 1800×1440 pixels (2.59MP). Therefore, GeT Cameras’ 3MP USB3 camera with 2048×1536 pixels is well-suited for this application, ensuring precise detection of small spots.

Selecting a machine vision lens

Every C-mount computer vision camera requires an appropriate lens. The best C-mount lens for this conveyor belt application was recommended based on specific criteria. The field of view (FOV) of 300x240mm and a working distance (WD) of 600 to 800mm were primary considerations. Using GeT Cameras’ online Lens Calculator tool, a focal length of 16MM was determined to be optimal.

GeT Cameras’ 5MP 16MM C-mount lens, designed for sensors up to 2/3”, was found to be a perfect choice. This lens is part of their light-sensitive 5MP series, offering adjustable aperture and focus, ensuring flexibility and precision. When used with the 3MP camera, it provides a slightly larger FOV of 320x240mm (because of the rectangle camera sensor).

Accessories for the industrial camera setup

To ensure seamless operation, the 3MP camera should be connected to a PC with fast processors and powerful GPUs for efficient image capture and processing. GeT Cameras recommends using their USB3 cables which are available in various lengths, such as the 1 meter USB3 cable or 4.6 meter USB3 cable, to guarantee the stable connection. For mounting, a tripod mounting plate is suggested.

To protect the camera and lens from dust and dirt, especially in a dusty production environment, GeT Cameras’ aluminium machine vision camera housing is ideal. The aluminium enclosure includes two extension rings, which in this case are both used to extend the lens tube to accommodate the size of the lens. The installation video is given on the product page of the enclosure.

Additional vision software for object detection

Image processing software is essential for detecting objects on the conveyor belt. GeT Cameras’ 3MP camera, like their other industrial cameras is GenICam compatible, allowing it to work with various third-party software such as MvTec Halcon, Cognex Vision Pro, OpenCV, and Arm Boards software.

The free Software Development Kit that can be downloaded from their website, enabling users to set camera parameters like exposure time and frame rate. The SDK supports Windows, Linux, Android, and is compatible with regular and industrial PCs and ARM platforms. It also supports programming languages including C++, C#/.NET, and Python. The customer intends to develop their detection software in Python. GeT Cameras’ SDK provides sample programs, including a Python example for image acquisition, with more detailed guidance available in their Knowledge Center.

Support for computer vision applications

Need assistance in selecting the best computer vision solution for object detection on conveyor belts or similar applications? Simply share your application requirements with GeT Cameras and they will recommend the most suitable camera and lens for your project.

Also feel free to contact GeT Cameras by sending an email to cs@get-cameras.com or give a call (+442045254755).

James Burke
James Burke
James Burke is Publication Manager at MEPCA Magazine, overseeing the title's print and digital publishing across news, features and advertising. He works closely with manufacturers, suppliers and engineering partners to bring MEPCA's coverage to maintenance and production professionals across the UK.

Related Articles

LATEST ISSUE

- Advertisements -BPI – Sell your replaced machinery at auction


FEATURED VIDEO

Latest News