lobe / lobe-adafruit-kit

Everything you need to bring your machine learning ideas to life with our brand new machine learning kit in partnership with Adafruit.
https://lobe.ai
MIT License
75 stars 8 forks source link

Rasp Pi OS Bullseye has dropped support of PiCamera - breaks Lobe on Rasp Pi #7

Open solarslurpi opened 3 years ago

solarslurpi commented 3 years ago

Lobe on Rasp Pi is reliant on PiCamera. PiCamera along with other camera apps like raspistill are not available on Rasp Pi Bullseye. I found this out after buying a Brain Craft/Lobe from Adafruit.

mbeissinger commented 3 years ago

In the meantime, it looks like you can still get the Raspberry Pi Buster OS that works with Picamera: https://downloads.raspberrypi.org/raspios_armhf/images/raspios_armhf-2021-05-28/

We will need to wait for Picamera2 from Raspberry Pi to be able to use the new libcamera from Python: "There is no Python interface yet. An alternative to the old Picamera, imaginatively named Picamera2, is in development. This too will integrate much more directly with established Python libraries to access things like windowing and graphics functions. Picamera2 will be developed by Raspberry Pi (unlike Picamera itself, which is actually third-party code), and this will facilitate both support and continuing future development."

Source: https://www.raspberrypi.com/news/bullseye-camera-system/

solarslurpi commented 3 years ago

Thank you. Please see the error I receive on Buster, AttributeError: 'TFLiteImageModel' object has no attribute 'lock'