Artificial intelligence models tend to show A surprisingly large amounts of robustness against suboptimal image quality; many images that a human photographer would delete during chimping pass muster when studied from an AI model’s point of view. Due to this, we can get away with using relatively dated hardware – the main computer is a Raspberry Pi 4, while the Raspberry Pi Camera Module 2 provides vision features. For reference, the OS used was 2022-09-22-raspiosbullseye-armhf-full.img.
Each camera module is shipped with a ribbon cable for connection. Be careful not to damage the connectors, as resoldering them requires expensive equipment and is not error-proof. When done, the system should look like the photo (above).
There’s a reason why software development theorists compare large software systems to cubes of ballistic gel: the larger a system gets, the more complex its maintenance. Due to this, the deprecation of the original camera library is a slow process – however, most recent Raspberry Pi OS images come with a version of camera2 in memory. Prudence dictates that the next step involvesThe following steps are based on version 0.3.8-1: $ sudo apt install -y python3-picamera2