Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
April 15, 2021 06:16 am GMT

Machine Learning on a Raspberry Pi with Python or Node.js

Source: EdgeImpulse

Typically, when you think about having to train a model for machine learning you think about needing a vast amount of processing power needed to perform the necessary operations. But small microcontrollers like Raspberry Pis are becoming really popular and common in the classroom. Being able to use such a small device for machine learning gets the technologies in the hands of more people that could potentially do amazing things with it. Until now there havent been any options that target the Raspberry Pi. Owners of a raspberry Pi 4 can now use their device to train their own customer models using Edge Impulses cloud development platform.

There are four new machine-learning SDKs (Software development kits) for Raspberry Pi including support for C++, Go, Node.js, and Python. The benefit of this that because of the wide array of languages supported, most users wont have to learn a new language just to learn how to program a ML. While learning and working with a new SDK can be daunting at first, Edge Impulse have good documentation that can help you get started fast, and getting your project compete before you realizeit.

One of the applications of this technology is computer vision by connection a webcam to the Raspberry Pi. This can be accomplished by two ways: the first is to connect the camera directly into one of the USB ports. If youre anything like you tend to keep these ports free if possible, for other peripherals. The second option is that attach the camera through the GPIO header pins that are soldered to theboard.

With the computer vision system, that an engineers demonstrates in this video, you can see that it is quite easy to get the system up and going. There looks to be a deploy process where you are building the ML pipeline through the web interface and then pushing the content to the Pi. In the video you can see that the machine vision system is capable of recognizing multiple objects through the webcamera.

There are a variety of sensors that the SDK supports for collecting data including, accelerometers, magnetometers, motion sensors, humidity and temperature sensors. Really any sensor that provides a stream of data, you could input into the ML that youbuild.

The Raspberry Pis small form factor and affordability makes it a prime option for many engineering and DIY projects. Being able to apply the vast amount of use cases that machine learning is applicable to continues to make developing with a Pi the Jack of alltrades.

Thank you for reading this far. If you enjoyed this post, please share, comment, and press that !

Follow me on Twitter and DEV for more developer related contentcontent!


Original Link: https://dev.to/mwrpwr/machine-learning-on-a-raspberry-pi-with-python-or-node-js-2aho

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To