User Manual
58
The interfaces go one by one like this:
1. The login page: enter the Raspberry Pi’s IP address and click Log in go to the operation
interface.
2. The operation interface will show the view captured by the camera. You can control the
movement of the car on this page. You can click the return button, to go back to login, and
the settings button to go to calibration interface.
3. The calibration interface: you can control and adjust the car by keyboard. Click OK to
save the calibration data, and Cancel to return to the upper level interface.
Now after going through the code, you may wonder actually how to design the graphical
interface and use PyQt. So let's take a closer look!
1. Designing the Interface
Let’s start with the design interface.
In Windows, if you install the PyQt by the .exe package, select the option to install all, so the
GUI design tools like the Qt Designer will be installed automatically. Or you can install the
entire kit of Qt by yourself. Download the package (may need some setting and registration):
https://www.qt.io/developers/
Open the .ui file with a Qt tool after the installation is completed. The Qt designer in Qt tools
is a GUI design tool.