Linux Format

Eye spy with my little Pi API…

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

You’re reading a preview, subscribe to read more.

More from Linux Format

Linux Format3 min read
Super Grub2 2.06s4
The words ‘super’ and ‘grub’ seldom go together but the title is well earned in the case of this live CD, as it allows users to boot into virtually any operating system. The moniker Grub2 derives from the fact that given GRUB2 was a complete rewrite
Linux Format11 min read
Emulate The Classic Psion PDA Range
High school in the ’90s is where we saw our first Psion PDA (personal digital assistant) that we knew was a Psion. A classmate brought in a Psion 3a with a series of solid-state disks (yes, SSDs!) that had games and programs on. We forgot all about a
Linux Format14 min read
Beginners’ Distributions
MX Linux » Ubuntu » Linux Mint » Pop!_OS » Linux Lite This month, we’re looking at five Linux distributions that are suitable for newcomers to Linux. A beginner in this context can mean a couple of things. On the one hand, it can mean a novice comput

Related