Image Processing in Labview

User-interface of the program showing bottle as seen by side and top cameras.

User-interface of the program showing bottle as seen by side and top cameras.

The objective of the project was to design a system that can recognize 21 recyclable bottles using image processing tools in LabVIEW. The final design of the system had two cameras; first one mounted side-ways and second one mounted on top as shown in the picture below. A bottle or specimen was loaded from the side and then driven on a linear translation stage to a position that is in full view of both cameras. The cameras snapped a picture each and a LabVIEW program matched and ranked the pictures against embedded templates.

    In this project:

  • I wrote the LabVIEW program that controlled 2 Logitec HD C910 cameras
  • I generated image processing scripts using NI Vision Assistant to detect individual bottles.
  • I designed an alternative system that measured relative height of individual bottles.

Results

The system was able to detect all 21 bottles. Half the time, it could not tell apart bottles that had a lot of similarities: e.g., a Coca-cola bottle with a lid vs a Coca-cola bottle without a lid.

me18_IP_setup

Side-view of the system