Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

EFM Series: Using MiNiFi Agents on Raspberry Pi 4 With Intel Movidius Neural Compute Stick 2, Apache NiFi, and AI

DZone 's Guide to

EFM Series: Using MiNiFi Agents on Raspberry Pi 4 With Intel Movidius Neural Compute Stick 2, Apache NiFi, and AI

Create IoT flows with AI at the edge with a TPU device.

· IoT Zone ·
Free Resource

The good news is that Raspberry Pi 4 can run MiNiFi Java Agents, Intel Movidius Neural Compute Stick 2, and AI libraries. You can now use this 4GB of RAM device to run IoT with AI on the edge.

Flow From MiNiFi Agent Running OpenVino, SysLog Tail, and Grabbing WebCam Images

Configure the Execution of OpenVino Python Applications on RPI 4

Events Returning From Raspberry Pi 4

Models Used

Download model using downloader.

GitHub

https://github.com/tspannhw/minifi-rpi4-ncc2

DATE=$(date +"%Y-%m-%d_%H%M") 
fswebcam -q -r 1280x720 --no-banner /opt/demo/images/$DATE.jpg 

python3 /opt/intel/openvino/build/test.py /opt/demo/images/$DATE.jpg


Software

  • Apache NiFi
  • Apache NiFi - MiNiFi Agents
  • TensorFlow
  • OpenVino
  • Python 3
  • FSWEBCAM
  • OpenCV DNN
  • PSUTIL

Python Libraries

pip3 install getmac pip3 install psutil pip3 install --upgrade pip

pip3 install --upgrade setuptools


  • Intel Movidius Neural Compute Stick 2
  • Raspberry Pi 4 with 4GB RAM

Hosting

We can run on-premise on VMs, containers, K8s, or Bare metal — or even on our own clouds such as Google.

Resources

Directories

  • /root/inference_engine_samples_build/armv7l/Release
  • /opt/intel/openvino
Topics:
edge ,apache nifi ,minifi ,cloudera ,movidius ,tensorflow ,python

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}