Skip to content

Software

Gergely Pogány edited this page Apr 15, 2019 · 10 revisions

Installation

Documentation


Software

The two main components of the software are a classification algorithm to detect the colour of the falling glass and a menu system which allows for the calibration of certain parameters. The system is always in either of these states, depending if a bottle has been detected at the input or not.

Classification

OpenCV is used to process the captured images. A thresholding was impleneted based on the HSV values extracted from these images.

Add a bit more to it, e.g. building up of a baseline, waiting for a few classification until the motor is turned

Bottle 3 Bottle 4 Bottle 5

Menu

The menu has three options:

  • calibrating the resting position of the exit chute,
  • the angle between the rest position and the positions the chute turns to upon detecting amber or green glasses
  • and the length of time the chute spends at each position after a bottle has been classified.

These calibration values are then saved and loaded upon the boot-up of the system. When a bottle is detected at the input the Menu is immediately terminated and the classification starts.


Installation

Documentation

Clone this wiki locally