Regularly, we get the question if we have an image of our Raspberry Pi with some frameworks and our deep-learning examples. We are happy to comply with this request.
Clicking on the links below will direct you to our GitHub repo.
Clicking on the links below will direct you to our installation guide.
Since everyone has a unique password for their WiFi connection, we have not activated the WiFi.
To enable the wireless LAN to follow the next steps:
1) Left-click on the Ethernet symbol.
2) Click "Turn on wireless LAN", and wait a few seconds. Your RPi will scan for available networks.
3) Left-click again on the Ethernet symbol and choose your network.
4) Give your key, and wait a couple of seconds to let the RPi establish the connection.
5) Success!
Importing both TensorFlow and OpenCV in Python can throw the error: cannot allocate memory in static TLS block.
This behaviour only occurs on an aarch64 system and is caused by the OpenMP memory requirements not being met.
For more information, see GitHub ticket #14884.
There are a few solutions. The easiest is to import OpenCV at the beginning, as shown above.
The other is disabling OpenMP by setting the -DBUILD_OPENMP and -DWITH_OPENMP flags OFF.
Where possible, OpenCV will now use the default pthread or the TBB engine for parallelization.
We don't recommend it. Not all OpenCV algorithms automatically switch to pthread.
Our advice is to import OpenCV into Python first before anything else.