We connected the program with sensors and motors through Raspberry Pi and a BuildHat.
The Raspberry runs the program for picture analysis, that we first programmed on the computer.
Using the BuildHat we controll the motors and recieve data from the sensors.