-
Notifications
You must be signed in to change notification settings - Fork 2
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.
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
Images of masked classified bottles.
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.