I am designing a system using a Raspberry Pi (Model B - 512mb) that depends on OpenCV libraries for Haar-like feature detection, and fswebcam/gpio/libgphoto2. I need more speed than Python can offer.
My interface requires only text of different sizes and colours and rectangles. The image below shows a very rough paint mockup of the interface required.
I was able to produce the interface in half an hour using the PyGame engine, which runs at sufficient CPU requirements. I can also run the application from the terminal before
startx, which runs great, with the Esc key set to exit the application.
I am not too keen to have the standard menu or minimise and exit controls that normal applications have, because this will run on a 5" display with no mouse.
I am looking for a solution like this that I can do with C++, or perhaps a good tutorial on a way to bridge python with C++. Will GTK suit my needs for this.
When using GTK, there are the following packages:
libgtk2.0-0 : GTK+ graphical user interface library libgtk2.0-0-dbg : GTK+ libraries and debugging symbols libgtk2.0-0-udeb : GTK+ graphical user interface library - minimal runtime libgtk2.0-bin : programs for the GTK+ graphical user interface library libgtk2.0-common : common files for the GTK+ graphical user interface library libgtk2.0-dev : development files for the GTK+ library libgtk2.0-doc : documentation for the GTK+ graphical user interface library
Which of these do I need to install to use GTK for this purpose, I would like to keep things as lightweight as possible? Is there another similar engine I can use for C++ like PyGame that may be better than GTK?
Note: This is a refined (yet related) post to the one I made on StackOverflow, which got no replies.