All Projects → ricardodeazambuja → Maple-Syrup-Pi-Camera

ricardodeazambuja / Maple-Syrup-Pi-Camera

Licence: Apache-2.0 License
Low power smart camera (3D printed) based on the Raspberry Pi Zero W and Google Coral EdgeTPU

Programming Languages

G-code
73 projects
Jupyter Notebook
11667 projects

Projects that are alternatives of or similar to Maple-Syrup-Pi-Camera

todo-list
TodoList using Ionic2/3 & Firebase: * PWA * SSO Google plus. * Share list via QRcode. * Upload image from Camera or Storage. * Speech Recognition.
Stars: ✭ 18 (-41.94%)
Mutual labels:  camera
Streamator
A Spectator Specifically build for Content Creation and Streaming
Stars: ✭ 18 (-41.94%)
Mutual labels:  camera
aiot
A combination of AI and IoT workload running at the edge powered by K3s, Calico, and Portworx
Stars: ✭ 13 (-58.06%)
Mutual labels:  aiot
HaishinKit.kt
Camera and Microphone streaming library via RTMP for Android.
Stars: ✭ 70 (+125.81%)
Mutual labels:  camera
onvif-nvt
ONVIF library for NVT (Network Video Transmitter) devices.
Stars: ✭ 62 (+100%)
Mutual labels:  camera
lovelace-hass-aarlo
Lovelace card for hass-aarlo integration.
Stars: ✭ 41 (+32.26%)
Mutual labels:  camera
CamHell
Ingenic T10 IP camera crawler
Stars: ✭ 53 (+70.97%)
Mutual labels:  camera
OCR-Reader
An Android app to extract text from camera preview directly.
Stars: ✭ 43 (+38.71%)
Mutual labels:  camera
Album
android 图片视频加载库,单选,多选,预览,自定义UI,相机,裁剪...等等 已适配android10,11
Stars: ✭ 53 (+70.97%)
Mutual labels:  camera
KotlinProject
This repo help for all developer who want to learn android or want to work on advance feature of android. This repo created with help of @awesomeui, @materialdesign and android latest feature. this repo contain major feature like : @awesome UI, @Material design, @firebase (auth, realtime database, firestore, push notification), @database (Room d…
Stars: ✭ 40 (+29.03%)
Mutual labels:  camera
UrbanLoco
UrbanLoco: A Full Sensor Suite Dataset for Mapping and Localization in Urban Scenes
Stars: ✭ 147 (+374.19%)
Mutual labels:  camera
VisionLab
📺 A framework with common source code for demo projects that use Vision Framework
Stars: ✭ 32 (+3.23%)
Mutual labels:  camera
amelia 2.0
An Artificial Intelligence Chat Bot and Service Provider written in Python and AIML.
Stars: ✭ 19 (-38.71%)
Mutual labels:  camera
esp32cam-ready
Plug and Play firmware for the esp32cam. Flash, provision and connect to rtsp.
Stars: ✭ 67 (+116.13%)
Mutual labels:  camera
Android-Text-Scanner
Read text and numbers with android camera OCR
Stars: ✭ 27 (-12.9%)
Mutual labels:  camera
Attachment-Handler-Swift
Access Camera, Photo Library, Video and File from User device using Swift 4
Stars: ✭ 20 (-35.48%)
Mutual labels:  camera
Brady
A camera library with parallax scrolling and aspect ratios for LÖVE.
Stars: ✭ 50 (+61.29%)
Mutual labels:  camera
VehicleInfoOCR
Use your camera to read number plates and obtain vehicle details. Simple, ad-free and faster alternative to existing playstore apps
Stars: ✭ 35 (+12.9%)
Mutual labels:  camera
realsense-processing
Intel RealSense 2 support for the Processing framework.
Stars: ✭ 70 (+125.81%)
Mutual labels:  camera
ImageAttachment
Example App to show how to pick an image from Camera/Gallery
Stars: ✭ 23 (-25.81%)
Mutual labels:  camera

Maple Syrup Pi Camera

Low power('ish) AIoT smart camera (3D printed) based on the Raspberry Pi Zero W and Google Coral EdgeTPU

Maple-Syrup-Pi-Camera

People ask me the reason I chose to use the Raspberry Pi Zero for this project considering it's not a powerful single-board computer. I could have tried ready-made smart cameras, but the Raspberry Pi is one of the best selling general purpose computers ever (beating the Commodore 64, numbers from 4 years ago!), therefore it has a huge community. This makes life much easier when you need to find a driver or how to solve a problem. In addition to that, last year I released my work on a flexible, collision resilient, quadcopter that has as its brain... a Raspberry Pi Zero W! So, I'm quite familiar working with the Zero and I hope the Raspberry Pi Foundation will soon come up with an upgrade (maybe adding a RP2040 to the RPI Zero PCB?).

How to build your own

Hardware

Software

The easy way

  • Download the image available here and flash it to your card using the Raspberry Pi Imager.
  • The image available in this repo has lots of interesting stuff pre-installed and its default user is pi and password maplesyrup (yup, I love maplesyrup).
  • Another interesting thing available is the Jupyter Notebook Server. It helps a lot while testing things. You can launch it by running /home/pi/launch_jupyter.sh (it's slow at times, but very much usable) and the password is again maplesyrup (your browser will complain saying it's not a secure connection because the server is using a self-signed certificate).

The hard way (Why can't you go the easy way?!?! LOL)

  • You will, at least, need to install the libedgetpu and tflite_runtime. Be aware this tflite_runtime version was compiled for Python 3.7.
  • In addition to the software above, you will need to install Picamera, Pillow...

Extra instructions

Usage examples

Speed

The RPI Zero W has a USB 2.0 connection with a theoretical 480Mbit/s (50MB/s) speed, but it will never get close to that because the RPI0 has a single core ARMv6 CPU (no free lunch!). Therefore, the Google Coral USB Accelerator is very often limited by the USB bandwidth, or the ability of RPI0 to exchange data with it. This fact plays a role in keeping the average power consumption low, though. Models that need post-processing or use a custom OP (the EdgeTPU compiler runs these ops in the host) will also suffer from the small USB bandwidth and the weak ARMv6 single core.

Power consumption:

The RPI Zero W has no protection circuit on its 5V input, therefore it connects the USB power directly to the power supply. That means the Coral USB Accelerator will be directly connected to the power supply allowing it to drain as much current as the power supply and impedance of microUSB + PCB traces allow it. According to the Google Coral USB Accelerator Datasheet, the accelerator alone could draw up to 900mA (peak). The RPI Zero W has a typical power consumption of 150mA. In my experiments, the Maple-Syrup-Pi-Camera consumes around 160mA at 5V when idle (800mW).

Examples of power consumption:

Using a hobby-grade USB power meter (and a power bank that states it can deliver up to 2A at 5V):

The power consumption is kept low, compared to other products using the EdgeTPU, mainly because the RPI Zero is very low power and the Coral USB accelerator usually sits idle awaiting for data.

Acknowledgments:

Disclaimer

Other projects you may like to check:

  • RPI0_GPU_FFT: Experiments using the RPI Zero GPU for FFT/IFFT 1D/2D.
  • colab_utils: Some useful (or not so much) Python stuff for Google Colab notebooks.
  • ExecThatCell: (Re)Execute a Jupyter (colab) notebook cell programmatically by searching for its label.
  • The CogniFly Project: Open-source autonomous flying robots robust to collisions and smart enough to do something interesting!
  • Bee: The Bee simulator is an open source Spiking Neural Network (SNN) simulator, freely available, specialised in Liquid State Machine (LSM) systems with its core functions fully implemented in C.

This project has received funding from the European Union’s Horizon 2020 research and innovation programme under the Marie Skłodowska-Curie grant agreement No 801215 and the University of Edinburgh Data-Driven Innovation programme, part of the Edinburgh and South East Scotland City Region Deal

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].