Rysuje pole tekstowe z wyświetlonym tekstem, który automatycznie dopasowuje czcionkę do rozmiaru pola. screen - ekran Pygame. text - tekst do wyświetlenia. x, y - współrzędne lewego górnego rogu pola ...
Program that used OpenCV library and Pygame to convert light flashes into text and text into light flashes. OpenCV library was used to read light flashes from the camera and convert them into binary.