<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[BerryNet - Medium]]></title>
        <description><![CDATA[Articles for BerryNet and Edge AI - Medium]]></description>
        <link>https://medium.com/berrynet?source=rss----fbba05dd98d---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>BerryNet - Medium</title>
            <link>https://medium.com/berrynet?source=rss----fbba05dd98d---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 16:38:10 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/berrynet" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Restore the right to repair and modify the product I buy]]></title>
            <link>https://medium.com/berrynet/restore-the-right-to-repair-and-modify-the-product-i-buy-4685cfbc64c6?source=rss----fbba05dd98d---4</link>
            <guid isPermaLink="false">https://medium.com/p/4685cfbc64c6</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[home-camera]]></category>
            <category><![CDATA[raspberry]]></category>
            <dc:creator><![CDATA[Tammy Yang]]></dc:creator>
            <pubDate>Thu, 13 Feb 2020 11:21:16 GMT</pubDate>
            <atom:updated>2020-02-13T11:21:16.372Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lUGWk9pHR17dm5LM4mTBzg.jpeg" /><figcaption>AIKEA AI camera, collects no data and respects your right of repair.</figcaption></figure><p>Last year, the BerryNet team launched <a href="https://www.kickstarter.com/projects/aikea5/aikea-your-private-camera-at-home">AIKEA Kickstarter project</a>, the first AI camera which collects no data. It was not only a successful campaign but also drew a lot of attention from the community. In November, AIKEA and BerryNet were both reported by the special edition of the <a href="https://foundation.mozilla.org/en/privacy-included/">Internet Health Report 2019</a> published by Mozilla Foundation.</p><p>All AIKEA lovers know AIKEA respects user’s privacy, but not all of them are aware that AIKEA also respects the environment and the right to repair.</p><p>When I was a child, fixing electronic devices was not difficult. If my radio or computer was broken, I could bring them to the repairing shop at the corner of the street; even my dad was able to help me fix some of the problems. That was the time when manufacturers still respect the right of consumers to repair and to modify the product we purchased. Today, if my laptop or mobile phone is not working, I have no way to fix them but to call the services offered by the manufacturer and pay. This not only creates good revenue for the manufacturer but also makes it super difficult to repair or modify the product which leads to a huge amount of electronic waste.</p><p>AIKEA AI camera is built on top of Raspberry Pi, but it is not a toy or a maker project. It is a real product, easy-to-setup and intelligent. We choose Raspberry Pi because it allows users to extend the functionality of AIKEA easily. The AI engine of AIKEA can be controlled by a simple config and all users have full access to it. The system image is going to be released soon in February, and the full source code will be released by June 2020. We hope the openness of AIKEA makes it simple to modify and simple to repair.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vioheZDU0eluoEimCG53Hw.png" /><figcaption>Dinosaur case created by Ping-Hsun Chen (Penk), author of CutiePi (<a href="https://cutiepi.io/">https://cutiepi.io/</a>)</figcaption></figure><p>One of my friends who bought AIKEA turned it from intruder detector to a dog detector so that he can analyze the activities of his dog. Another of my friends who used AIKEA in the bedroom felt that the noise from the fan was too loud, so he replaced it with a quieter fan. Today, my friend, Penk, told me that he made a super cool dinosaur case for AIKEA. “If you buy a product, you should have the right to repair and modify it easily”, that’s the message we hope to deliver to every AIKEA user. We believe it’s the responsibility of manufacturers to create products which are easy to use and easy to repair. For AIKEA users, even at some point that you don’t want to have an AI camera anymore, you can flash the SD card and turn it to another cool Raspberry Pi project.</p><p>We believe this is just the beginning. It has been a long time that our software, our hardware and even our data are all controlled by the IT companies. By respecting users’ right to modify and repair, we hope AIKEA can contribute a little bit to the reduction of electronic waste and open the door of a better future.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4685cfbc64c6" width="1" height="1" alt=""><hr><p><a href="https://medium.com/berrynet/restore-the-right-to-repair-and-modify-the-product-i-buy-4685cfbc64c6">Restore the right to repair and modify the product I buy</a> was originally published in <a href="https://medium.com/berrynet">BerryNet</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[DIY Your AI Home Security Camera With Raspberry Pi And Open-source Software]]></title>
            <link>https://medium.com/berrynet/diy-your-ai-home-security-camera-with-raspberry-pi-and-open-source-software-10d4364df20f?source=rss----fbba05dd98d---4</link>
            <guid isPermaLink="false">https://medium.com/p/10d4364df20f</guid>
            <category><![CDATA[home-security]]></category>
            <category><![CDATA[raspberry-pi]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[privacy]]></category>
            <dc:creator><![CDATA[Bofu Chen]]></dc:creator>
            <pubDate>Sat, 03 Aug 2019 15:23:37 GMT</pubDate>
            <atom:updated>2019-08-03T15:24:48.300Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>This article is a step-by-step tutorial to setup an AI home security camera WITHOUT leaking videos of your love to the cloud.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*gSDY24PLLOM0RgZUA0lCOQ.jpeg" /><figcaption>Figure: This is a step-by-step intro to setup a home security system without leaking video to the cloud.</figcaption></figure><p>So you want to enhance home security to protect the family you love, and decide to install a home surveillance system. After some Google searches however, you find many solutions which provide intelligent notification and video backup by cloud, sounds great right? <strong>But what about privacy, is security more important than privacy?</strong> After all, there’s no such thing as a free lunch.</p><p>In this tutorial, we will helping you to DIY a home Surveillance system step-by-step. The system will be running on is a $35 computer, the wonderful and awesomely powerful Raspberry Pi, with <strong>all the computations running locally</strong>, so you can protect your family without losing your privacy. Our system is based on <strong>BerryNet</strong>, an open source AI system, so everything is transparent.</p><h3>Before starting the tutorial</h3><p>You will need to prepare the following devices to complete the tutorial:</p><ul><li>An old mobile phone as camera input</li><li>A Raspberry Pi for local AI computation (*)</li><li>A laptop or desktop with Ubuntu installed to check the result</li><li>A gmail account to send out notifications</li></ul><p>(*) The BerryNet open-source software also support other devices as AI computer, if you do not have a raspberry Pi in hand, please check <a href="https://github.com/DT42/BerryNet/wiki">BerryNet Wiki</a> for other alternative hardware choices.</p><p>More details of the required software and hardware are listed below in the <strong>Precondition</strong> section. If you encounter any problem during the execution, please join <a href="https://t.me/berrynetdev">BerryNet Telegram</a> and the BerryNet team is there to support you.</p><h3>Scenario</h3><p>For the first step, we will help you setup a mobile as an IP camera, send the camera images to Raspberry Pi for AI analysis, and display the analysis results on the Raspberry Pi’s screen. You will have an overview how the entire system works.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*YP7ZYpA7w8taA4xP0FPnjw.jpeg" /><figcaption>Figure: Development stage, to receive notifications by laptop.</figcaption></figure><p>Then we will help you setup your Gmail account and send event notifications through it. Your Gmail account will be like an assistant sending event notifications to another indicated email address.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*HHDNsIxwDEPhk3ZT8BJlgw.jpeg" /><figcaption>Figure: Real scenario, after the system configuration is done, one can receive notifications in Email.</figcaption></figure><p>Our sample scenario of this tutorial is below:</p><ul><li>Raspberry Pi 4 with BerryNet, the analysis center</li><li>Mobile as IP camera, the image source provider</li><li>Gmail account, the event notification sender</li><li>Another email account, the event notification receiver</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*31KlRFNEN5A6F26PbRbKeQ.jpeg" /><figcaption>Figure: Sample scenario setup.</figcaption></figure><h3>Precondition</h3><p>Here is the list of hardware and software you will need:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/706/1*-7zAKN-UwCa1yajSGzTQgg.png" /><figcaption>Table: Required software and hardware. [1] https://www.balena.io/etcher/</figcaption></figure><h3>Step-By-Step Tutorial</h3><h4><strong>Step 1: Turn your mobile to be an IP camera</strong></h4><p><a href="https://play.google.com/store/apps/details?id=com.spynet.camon&amp;hl=en">CamOn Live Streaming</a> is an easy-to-use app to turn your Android phone into an IP camera.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YIBzY9Js1tLg0UbK4DC7NQ.png" /><figcaption>Figure: Screenshot of my mobile running CamOn Live Streaming</figcaption></figure><p>In the figure above, video streaming information is displayed on the screen. To get the RTSP URL for H.264 streaming, you can drop the menu down, to see the streaming information and the stop button. The RTSP URL is your source of input video frames in the BerryNet camera client in the latter sections.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*93MI5Y7LpPmpGKIfWvUzSw.png" /><figcaption>Figure: Get RTSP URL of camera video stream from the drop down menu.</figcaption></figure><p>You can choose focus mode in camera settings. Sometimes continuous auto-focus might affect the input quality and subsequently the accuracy of the AI system. Personally I prefer to choose on-touch auto-focus or disable auto-focus completely.</p><h4><strong>Step 2: Download And Install BerryNet System Image to SD Card</strong></h4><p>Download the <a href="https://berrynet.s3.amazonaws.com/images/2019-07-15-raspbian-buster-berrynet.zip">latest image</a> (if your browser helps decompress Zip file automatically, disable it before download). To check the integrity of the downloaded image, you can check the md5sum of the image and compare it with the <a href="https://berrynet.s3.amazonaws.com/images/2019-07-15-raspbian-buster-berrynet.md5sum">checksum file</a>.</p><p>Note: If your host OS is Windows, you can write BerryNet image to SD card by <a href="https://www.balena.io/etcher/">balenaEtcher</a>.</p><p>Assuming that the image is saved to <em>/home/DT42/Downloads/ </em>directory.</p><pre>notebook $ cd /home/DT42/Downloads<br>notebook $ md5sum 2019-07-15-raspbian-buster-berrynet.zip<br>8bda8053a69995814a0ca6fa60b1d49e  2019-07-31-raspbian-buster-berrynet.zip</pre><p>Write image to SD card. Assuming that the inserted SD card is represented as the device node<em> /dev/sdb</em> on system. You can check the device node name of the SD card by GParted Partition Editor. If you see other similar device notes like <em>/dev/sdb1</em> or <em>/dev/sdb2</em>, you can ignore them without causing any problem.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/775/1*2BcU5rHmC4NeFRpqdqEuow.png" /><figcaption>Figure: Get a list of storage device nodes in GParted.</figcaption></figure><p>Run the command below to write BerryNet image to SD card:</p><pre>notebook $ unzip -p 2019-07-15-raspbian-buster-berrynet.zip | sudo dd of=/dev/sdb bs=4M conv=fsync status=progress</pre><p>To get more information of installation, you can refer to the <a href="https://github.com/DT42/BerryNet/wiki/Installation">installation Wiki page</a>.</p><h4>Step 3: Boot And Disable Auto-Launched AI System</h4><p>After booting your Raspberry Pi, BerryNet is ready and will already have an object detection application will be running on it. Here you will learn how to create your own AI application and launch it automatically after booting in the latter sections. Now, please stop the default application manually:</p><pre>rpi $ sudo supervisorctl stop all</pre><h4>Step 4: Update The Latest BerryNet.</h4><p>Update BerryNet to the latest version:</p><pre>rpi $ sudo apt update<br>rpi $ sudo apt install -y berrynet</pre><h4>Step 5: Run Your AI Application And Verify Functionality Manually</h4><p>You are now ready to launch an object detection application by running a detection service, a dashboard client, and a camera client manually.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*YP7ZYpA7w8taA4xP0FPnjw.jpeg" /><figcaption>Figure: Re-cap the development scenario.</figcaption></figure><p>Before running the steps below, make sure that your mobile and Raspberry Pi connected to the same WiFi access point.</p><p>Firstly, start the object detection service:</p><pre>rpi $ bn_tflite -s detector -p mobilenet-ssd-coco-tflite-2.0.0 --num_threads 4 --draw --debug</pre><pre>[D 190724 06:28:19 tflite_service:183] model filepath: /usr/share/dlmodels/mobilenet-ssd-coco-tflite-2.0.0/model.tflite<br>[D 190724 06:28:19 tflite_service:184] label filepath: /usr/share/dlmodels/mobilenet-ssd-coco-tflite-2.0.0/labels.txt<br>INFO: Initialized TensorFlow Lite runtime.<br>[D 190724 06:28:19 __init__:11] Connected with result code 0<br>[D 190724 06:28:19 __init__:13] Subscribe topic berrynet/data/rgbimage</pre><p>You can see that object detection service is ready to receive input data (from the <em>berrynet/data/rgbimage</em> MQTT topic)</p><p>Secondly, start the dashboard client, and the detection result will be shown on it after camera client is started by the next step (before that, dashboard content will be empty):</p><pre>rpi $ bn_dashboard --topic berrynet/engine/tflitedetector/result --no-decoration --no-full-screen --debug</pre><pre>[D 190724 06:37:54 __init__:11] Connected with result code 0<br>[D 190724 06:37:54 __init__:13] Subscribe topic berrynet/engine/tflitedetector/result</pre><p>If you are logging in via SSH remotely, you can launch the dashboard window by adding <em>DISPLAY=:0</em> before <em>bn_dashboard</em>. To stop the dashboard client, you can click the dashboard window, and pressing “q”.</p><p>Thirdly, start the camera client, and assign an image filepath as the input source:</p><pre>rpi $ wget -O /tmp/person.jpg https://raw.githubusercontent.com/pjreddie/darknet/master/data/person.jpg</pre><pre>rpi $ bn_camera --mode file --filepath /tmp/person.jpg --debug<br>[D 190724 06:46:18 camera:165] payload: 3.301 ms<br>[D 190724 06:46:18 camera:166] payload size: 161232<br>[D 190724 06:46:18 __init__:50] Send message to topic berrynet/data/rgbimage<br>[D 190724 06:46:18 camera:171] mqtt.publish: 8.06 ms<br>[D 190724 06:46:18 camera:172] publish at 2019-07-24T06:46:18.65415</pre><p>You should see the detection result shown on the dashboard, meaning that the object detection service and data communication mechanism are ready.</p><p>Finally, stop the camera client, and restart it with RTSP URL of the camera video stream as its input source:</p><pre>rpi $ bn_camera --stream-src rtsp://10.0.0.108:8080/video/h264 --fps 1 --debug</pre><pre>[W 190724 06:34:52 camera:113] Camera FPS is 180000.0 (&gt;30 or &lt;1). Set it to 30.<br>[D 190724 06:34:52 camera:127] ===== VideoCapture Information =====<br>[D 190724 06:34:52 camera:128] Stream Source: rtsp://10.0.0.108:8080/video/h264<br>[D 190724 06:34:52 camera:129] Camera FPS: 30<br>[D 190724 06:34:52 camera:130] Output FPS: 5.0<br>[D 190724 06:34:52 camera:131] Interval: 6<br>[D 190724 06:34:52 camera:133] ====================================<br>[D 190724 06:34:52 camera:142] Drop frames: 5<br>[D 190724 06:34:52 __init__:50] Send message to topic berrynet/data/rgbimage</pre><p>The detection results will be updated on dashboard constantly. You can adjust the fps parameter of camera client, and put <a href="https://play.google.com/store/apps/details?id=de.andreas1724.bigdigitalclock&amp;hl=en">Big Digital Clock</a> in front of the camera, so that you can see if the system is capable to process the input frames by the given fps parameter. We suggest to set 1 to the fps parameter to prevent email flooding.</p><p>Note: If you are interested in the benchmark of running MobileNet SSD on Raspberry Pi 3 and 4 with TFLite, I recommend <a href="https://blog.hackster.io/benchmarking-tensorflow-lite-on-the-new-raspberry-pi-4-model-b-3fd859d05b98">this Allan’s article</a>.</p><h4>Step 6: Send Detection Result by Gmail</h4><p>If you want to receive a notification when an event happens, the Gmail client helps you to send notification emails to an indicated email address.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*HHDNsIxwDEPhk3ZT8BJlgw.jpeg" /><figcaption>Figure: Recap the real scenario.</figcaption></figure><p>Firstly, stop the dashboard client by clicking the dashboard window, and pressing <em>“q”</em>.</p><p>Secondly, configure your Gmail account to allow 3rd-party app login. Go to <a href="https://myaccount.google.com/security">Google Account</a>, disable 2-step verification, and enable less secure app access:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*Aj8kRRxQQFQfA25UWwAC-g.jpeg" /><figcaption>Figure: Google account setup for Gmail client access.</figcaption></figure><p>Finally, start the Gmail client:</p><pre>rpi $ bn_gmail --sender-address foo@gmail.com --sender-password &lt;gmail-password&gt; --receiver-address bar@dt42.io --target-label person --topic berrynet/engine/tflitedetector/result --debug</pre><pre>[D 190722 15:36:27 __init__:11] Connected with result code 0<br>[D 190722 15:36:27 __init__:13] Subscribe topic berrynet/engine/ovdetector/result<br>[D 190722 15:36:50 __init__:20] Receive message from topic berrynet/engine/ovdetector/result<br>[D 190722 15:36:50 gmail:120] inference text result: {&#39;timestamp&#39;: &#39;2019-07-22T15:36:49.674736&#39;, &#39;annotations&#39;: [{&#39;left&#39;: 63, &#39;confidence&#39;: 0.9310929179191589, &#39;bottom&#39;: 347, &#39;right&#39;: 203, &#39;label&#39;: &#39;dog&#39;, &#39;top&#39;: 261}, {&#39;left&#39;: 405, &#39;confidence&#39;: 0.7530375123023987, &#39;bottom&#39;: 341, &#39;right&#39;: 606, &#39;label&#39;: &#39;horse&#39;, &#39;top&#39;: 135}, {&#39;left&#39;: 182, &#39;confidence&#39;: 0.9989088773727417, &#39;bottom&#39;: 369, &#39;right&#39;: 271, &#39;label&#39;: &#39;person&#39;, &#39;top&#39;: 103}, {&#39;left&#39;: 404, &#39;confidence&#39;: 0.4551317095756531, &#39;bottom&#39;: 337, &#39;right&#39;: 600, &#39;label&#39;: &#39;sheep&#39;, &#39;top&#39;: 135}]}<br>[D 190722 15:36:50 gmail:109] Result labels: [&#39;dog&#39;, &#39;horse&#39;, &#39;person&#39;, &#39;sheep&#39;]<br>[D 190722 15:36:50 gmail:126] Find target label person: True<br>[D 190722 15:36:50 gmail:72] Sender: foo@gmail.com<br>[D 190722 15:36:50 gmail:73] Receiver: bar@dt42.io<br>[D 190722 15:36:50 gmail:74] Subject: BerryNet mail client notification<br>[D 190722 15:36:50 gmail:80] Attachment: /tmp/2019-07-22T15:36:50.632503.jpg<br>[D 190722 15:36:50 gmail:80] Attachment: /tmp/2019-07-22T15:36:50.632503.json</pre><p>The receiver should receive a notification email, and the attachments are an image and text of the detection results:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/679/1*kesH2WwIs8hF097OgPLw6w.png" /><figcaption>Figure: Receive notifications consisting of a snapshot and text details in Gmail.</figcaption></figure><p>If you change the target label to other object such as dog, the notification will be sent when a dog is detected.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*yXitz_SjC6qqqeDjy_QeTQ.jpeg" /><figcaption>Figure: Email attachment when the label is changed from person to dog.</figcaption></figure><p>If you see the messages below instead of receiving the notification email, please check the password entered in the command line:</p><pre>[W 190803 15:31:54 gmail:148] (535, b&#39;5.7.8 Username and Password not accepted. Learn more at\n5.7.8 <a href="https://support.google.com/mail/?p=BadCredentials">https://support.google.com/mail/?p=BadCredentials</a>n140sm80107108fpd.132 - gmtp&#39;)</pre><h4>Step 7: Make System to Run Automatically</h4><p>You might remember that you disabled default object detection application in the beginning of this tutorial. The default application is described in the configuration file</p><pre>/etc/supervisor/conf.d/berrynet-tflite.conf</pre><p>To return your application to its default, you can modify the configuration by</p><ul><li>Updating the fps parameter of the camera client (<em>bn_camera</em>)</li><li>Adding a section for the Gmail client (<em>bn_gmail</em>)</li></ul><p>The configuration content will look like (you can modify it by your needs):</p><pre>rpi $ cat /etc/supervisor/conf.d/berrynet-tflite.conf</pre><pre>[program:tflite-service]<br>command=bn_tflite --service detector --service_name tflitedetector --model_package mobilenet-ssd-coco-tflite-2.0.0 --num_threads 4 --draw --debug<br>stdout_logfile=/var/log/berrynet/tflite-service-stdout.log<br>stdout_logfile_maxbytes=1048576<br>stderr_logfile=/var/log/berrynet/tflite-service-stderr.log<br>stderr_logfile_maxbytes=1048576<br>priority=10</pre><pre>[program:camera]<br>command=bn_camera --fps 1<br>stdout_logfile=/var/log/berrynet/camera-stdout.log<br>stdout_logfile_maxbytes=1048576<br>stderr_logfile=/var/log/berrynet/camera-stderr.log<br>stderr_logfile_maxbytes=1048576<br>priority=30</pre><pre>[program:gmail]<br>command=bn_gmail --sender-address foo@gmail.com --sender-password &lt;gmail-password&gt; --receiver-address bar@dt42.io --target-label person --topic berrynet/engine/tflitedetector/result<br>stdout_logfile=/var/log/berrynet/gmail-stdout.log<br>stdout_logfile_maxbytes=1048576<br>stderr_logfile=/var/log/berrynet/gmail-stderr.log<br>stderr_logfile_maxbytes=1048576<br>priority=30</pre><p>Reboot the Raspberry Pi, and start protecting your family without sacrificing your privacy!</p><h3>Summary</h3><p>We believe that AIoT (edge AI computation and IoT) is a powerful tool to protect our security and privacy at the same time. And we’re hoping that the flexible architecture can help you build more interesting AIoT applications in education, research, robotics, health care, and more!</p><p>If you have any questions or suggestions, please visit the <a href="https://t.me/berrynetdev">BerryNet Telegram group</a>. We look forward to seeing you!</p><h3>Special Thanks</h3><p>In the end of the tutorial, I would like to thank the BerryNet QA team, Sherry, the lady in the picture who performed tests and provided suggestions to this tutorial, and Mei-mei, the dog who played the detected object.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4mifK9pgpGIZZBOpueIdfw.jpeg" /><figcaption>Figure: BerryNet QA team</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=10d4364df20f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/berrynet/diy-your-ai-home-security-camera-with-raspberry-pi-and-open-source-software-10d4364df20f">DIY Your AI Home Security Camera With Raspberry Pi And Open-source Software</a> was originally published in <a href="https://medium.com/berrynet">BerryNet</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Object Detection on Your Ubuntu PC with BerryNet]]></title>
            <link>https://medium.com/berrynet/object-detection-on-your-ubuntu-pc-with-berrynet-2944e7478711?source=rss----fbba05dd98d---4</link>
            <guid isPermaLink="false">https://medium.com/p/2944e7478711</guid>
            <category><![CDATA[blog]]></category>
            <category><![CDATA[tensorflow]]></category>
            <category><![CDATA[object-detection]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[raspberry-pi]]></category>
            <dc:creator><![CDATA[Wei Ning Lu]]></dc:creator>
            <pubDate>Thu, 11 Jul 2019 09:08:20 GMT</pubDate>
            <atom:updated>2019-07-11T09:08:22.826Z</atom:updated>
            <content:encoded><![CDATA[<p>Here is a New Year gift for the BerryNet community.</p><p>DT42 is committed to making AI technology readily available for everyone. We want to take AI from the ivory towers and make it accessible for all. We have released BerryNet 3, hope to made it very easy for developers and makers to design useful object detection application with Raspberry Pi. However, for those people with only a limited experience in raspberry pi, getting started can be the hardest part. Here, we would like to create a step-by-step guide to install the BerryNet Object Classification on your Linux PC. Now our users don’t have to prepare any specific hardware device just for leveraging AI. (for example：Raspberry Pi, Neural Compute Stick, etc…) You can turn your laptop into an AI device with BerryNet, experience object classification power by AI on your personal computer.</p><p>Let’s get started.</p><p>[Installation Steps]</p><p>To run BerryNet on your Ubuntu PC, here are the steps:</p><p>1. Verify that there is a valid camera (for example, built-in webcam in laptop) connected to your computer.</p><pre>$ file /dev/video0</pre><p>You will see the following message：</p><p>/dev/video0: character special (81/0)</p><p>2. Get BerryNet</p><pre>$ git clone <a href="https://github.com/DT42/BerryNet.git">https://github.com/DT42/BerryNet.git</a> </pre><pre>$ cd BerryNet </pre><p>3. Enable OpenVINO in installation script</p><p>Go to BerryNet folder, find configure file.</p><p>Open and edit congifure file in word file:</p><pre>set “INSTALL_DARKNET_NNPACK” to “N”</pre><pre>set “INSTALL_OPENVINO” to “Y”</pre><p>4. Install BerryNet and OpenVINO on PC</p><pre>$ ./configure</pre><p>5. Start the demo</p><pre>$ bash examples/run-openvino-classifier.sh start</pre><p>6. Setup dashboard</p><p>6.1. Open browser and go to the URL <a href="http://localhost:8080/">http://localhost:8080</a></p><p>6.2. Click “LOAD FREEBOARD”</p><p>6.3. Select the downloaded config file, config/dashboard-ovclassifier.json</p><p>7. Now you can see the detection result on screen!</p><p>8. Stop the demo</p><pre>$ bash examples/run-openvino-classifier.sh stop</pre><p>Visit BerryNet on <a href="https://github.com/DT42/BerryNet">GitHub</a> to try, only one step installation is required. Build it your own way, use AI to create more interesting applications.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2944e7478711" width="1" height="1" alt=""><hr><p><a href="https://medium.com/berrynet/object-detection-on-your-ubuntu-pc-with-berrynet-2944e7478711">Object Detection on Your Ubuntu PC with BerryNet</a> was originally published in <a href="https://medium.com/berrynet">BerryNet</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[BerryNet is collaborating with Databox to give users control over the use of their personal data.]]></title>
            <link>https://medium.com/berrynet/berrynet-is-collaborating-with-databox-to-give-users-control-over-the-use-of-their-personal-data-a74ec703683c?source=rss----fbba05dd98d---4</link>
            <guid isPermaLink="false">https://medium.com/p/a74ec703683c</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[alexa]]></category>
            <category><![CDATA[news]]></category>
            <category><![CDATA[privacy]]></category>
            <category><![CDATA[edge-computing]]></category>
            <dc:creator><![CDATA[Wei Ning Lu]]></dc:creator>
            <pubDate>Thu, 11 Jul 2019 09:08:11 GMT</pubDate>
            <atom:updated>2019-07-11T09:08:10.892Z</atom:updated>
            <content:encoded><![CDATA[<h3>BerryNet is collaborating with Databox to give the control over use of data back to users.</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*PMlpyz3od_UcNV1MZ3f1ow.png" /></figure><p>We have grown accustomed to the ease with which technology enables our lives. However, our desire for convenient technology often gives up our privacy — and sometimes we’re not even aware of the tradeoffs. Concerns around privacy of home IoT devices, like the Amazon Echo, have recently increased as they gain more popularity. Given all of this the question is: is keeping privacy even possible in our modern world, and what level of control should we reasonably expect as users?</p><p>Some customers may want to receive a free service like Facebook in exchange for sharing their data. We believe that customers should be able to choose between sharing their data to gain access to services or be able to pay for the services directly, but without having to share their data.</p><p>At DT42, we always believe that bringing data analytics such as machine learning/deep learning technology to edge devices is the key towards the future that people can have better privacy.</p><p>As many of our readers might know, our project, BerryNet, is a smart brain for IoT devices to collect information and analyze the signals locally. BerryNet will soon begin cooperation with the <a href="https://www.databoxproject.uk/about/">Databox project</a> to increase control over privacy while also increasing the value of personal data. Databox is an open-source project developing a privacy-aware personal data platform led by teams from Imperial College London, University of Cambridge, and University of Nottingham.</p><p>Collaboration between BerryNet and Databox will enable a new option for future IoT developers. Instead of taking users’ data and keeping it in the cloud, risking breaking the trust between service provider and the users, developers can use BerryNet and Databox to analyze data locally. Users of applications built with by BerryNet and Databox, will not need to give data to exchange for intelligent service anymore; your data never leaves your house.</p><p>Our mission is to give the control over use of data back to users. With tools like BerryNet and Databox, we hope to provide tools and services that adhere to higher standards such as GDPR that are spreading through societies across the world, and will help support compliance with those standards.</p><p><em>1.BerryNet Github：</em><a href="https://github.com/DT42/BerryNet/wiki"><em>https://github.com/DT42/BerryNet/wiki</em></a><em> <br>2.Databox project — funded by the UK EPSRC grant EP/N028260/2：</em><a href="https://www.databoxproject.uk/about/"><em>https://www.databoxproject.uk/about/</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a74ec703683c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/berrynet/berrynet-is-collaborating-with-databox-to-give-users-control-over-the-use-of-their-personal-data-a74ec703683c">BerryNet is collaborating with Databox to give users control over the use of their personal data.</a> was originally published in <a href="https://medium.com/berrynet">BerryNet</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Run Object Detection using Deep Learning on Raspberry Pi 3 (1)]]></title>
            <link>https://medium.com/berrynet/run-object-detection-using-deep-learning-on-raspberry-pi-3-1-55027eac26c3?source=rss----fbba05dd98d---4</link>
            <guid isPermaLink="false">https://medium.com/p/55027eac26c3</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[blog]]></category>
            <category><![CDATA[raspberry-pi]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[open-source]]></category>
            <dc:creator><![CDATA[DeepThought]]></dc:creator>
            <pubDate>Tue, 09 Jul 2019 14:40:00 GMT</pubDate>
            <atom:updated>2017-05-15T09:15:00.947Z</atom:updated>
            <content:encoded><![CDATA[<h4>Why is it difficult to do object detection on Raspberry Pi 3?</h4><p>This post is the first one of the series. The goal is to share our experience about how to leverage open-source resources to enable deep learning for objection detection on RPi3. As for the first one of the series, the post will talk about why running object detection on RPi3 is difficult.</p><p>First, deep learning (or to be more specific, CNN) on Raspberry Pi is nothing new. Pete Warden had released DeepBelief SDK for image recognition in 2014 [1], and SqueezeNet [2] was another alternative released in 2015 which aimed to bring lighter solution for embedded systems. However, image recognition only tells you what objects appear in the images but it doesn’t tell you the information about size and location of the objects. Imaging you use Raspberry Pi 3 to analyze the video stream of your front door, and it keeps telling you there is a person in the video stream. Without knowing the specific location and the size, you won’t be able to know whether this person brings immediate threat to your house or not. Thus, we want to enable Object Detection on RPi3 to tell us not only what the object is, but also where it is and how big it is.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/958/1*eos2IeVuSA96kcI7Tcm4Zw.png" /><figcaption>Figure 1 (The image is from Pascal VOC dataset.) Right: Object detection model can specifically tell the location and the size of the objects. Left: Results from image recognition does not tell the size and the location of the objects.</figcaption></figure><p>Right: Object detection model can specifically tell the location and the size of the objects.</p><p>It is not easy. A detection model normally requires more parameters and therefore more operations than a recognition model. Take YOLOv2 [3] for example, the detection model uses 3x parameters and 6x more FLOPs than the base model, darknet19!</p><p>First, let’s take a look of the hardware spec of RPi3 [4]:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/891/1*bN8EjNSBlBD6hJ_NJJqSbQ.png" /><figcaption>Table 1: Hardware spec of RPi3</figcaption></figure><p>And, the benchmark of some image <em>recognition</em> models on RPi3:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/890/1*vaEllO8G3pkqnaNpk0xF6g.png" /><figcaption>Table 2 Benchmark results of popular models on Raspberry Pi 3.</figcaption></figure><p>These numbers assume <em>no optimization is applied to the framework and the model</em>. For example, with the basic optimization DT42 applied to TensorFlow, the performance can be 3x better.</p><p>As one can see from the data in the table above, it is already hard to run <em>recognition</em> tasks on RPi3, and the best FPS is only 0.3; never to say running a <em>detection</em> model with 54x more parameters than a <em>recognition</em> model.</p><p>In order to achieve object detection using CNN on RPi3 using open-source resources, one needs to<br> 1. Pick the right model with minimum operations<br> 2. Find the right framework which has the best optimization for RPi3</p><p>The two topics will be covered in the next post and the post after the next one.</p><p><em>[1] </em><a href="https://petewarden.com/2014/06/09/deep-learning-on-the-raspberry-pi/"><em>https://petewarden.com/2014/06/09/deep-learning-on-the-raspberry-pi/</em></a><em><br>[2] </em><a href="https://github.com/DeepScale/SqueezeNet"><em>https://github.com/DeepScale/SqueezeNet</em></a><em><br>[3] </em><a href="https://arxiv.org/abs/1612.08242">https://arxiv.org/abs/1612.08242</a><em><br>[4] </em><a href="https://en.wikipedia.org/wiki/Raspberry_Pi"><em>https://en.wikipedia.org/wiki/Raspberry_Pi</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=55027eac26c3" width="1" height="1" alt=""><hr><p><a href="https://medium.com/berrynet/run-object-detection-using-deep-learning-on-raspberry-pi-3-1-55027eac26c3">Run Object Detection using Deep Learning on Raspberry Pi 3 (1)</a> was originally published in <a href="https://medium.com/berrynet">BerryNet</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Run Object Detection using Deep Learning on Raspberry Pi 3 (2)]]></title>
            <link>https://medium.com/berrynet/run-object-detection-using-deep-learning-on-raspberry-pi-3-2-66f43609bc85?source=rss----fbba05dd98d---4</link>
            <guid isPermaLink="false">https://medium.com/p/66f43609bc85</guid>
            <category><![CDATA[blog]]></category>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[raspberry-pi]]></category>
            <dc:creator><![CDATA[DeepThought]]></dc:creator>
            <pubDate>Tue, 09 Jul 2019 14:39:45 GMT</pubDate>
            <atom:updated>2017-05-15T09:14:32.955Z</atom:updated>
            <content:encoded><![CDATA[<h4>BerryNet: Turn Raspberry Pi 3 Into Intelligent Gateway</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*4L2aVwn0431dYAeA." /></figure><p>In the previous post, we talked about <a href="https://goo.gl/H6vgVi">The difficulty to use deep learning for object detection on low-power devices</a> such as Raspberry Pi. Before going deeper into more numbers and analysis, let’s do something practical; to use Raspberry as the intelligent gateway of cameras and IoT devices. With the intelligent gateway, you can connect IP camera to Pi to monitor your kid and get notifications when someone is nearby.</p><p>DT42 released the open-source project,<a href="https://github.com/DT42/BerryNet"> BerryNet</a> [1] to turn Raspberry Pi 3 into an intelligent gateway with deep learning running on it. No internet connection is required, the analysis is done locally on the Raspberry Pi 3 itself.</p><p>Figure 1 shows the software architecture of the project, we use Node.js, MQTT and an AI engine to analyze images or video frames with deep learning. So far, there are two supported AI engines, the classification engine and the object detection engine. The current supported models are listed in Table 1.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/0*XR4XOgZ1un9uXWY0." /><figcaption>Figure 1: Architecture of the intelligent gateway.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/642/1*k169-6PFmqsu2m6bpzMTNw.png" /><figcaption>Table 1: Deep learning models supported.</figcaption></figure><p>One of the applications of this intelligent gateway is to use it for the security purpose. For example, Figure 2 shows the analyzed results from the camera hosted in the DT42 office. The frames were captured by the IP camera and they were submitted to the AI engine. The output from the AI engine will be shown on the dashboard.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/615/1*B1U7Kj3WhO4EKDRMEiGlqw.png" /><figcaption>Figure 2: Analyzed results from the intelligent gateway. GIF - <a href="http://gph.is/2p9V1Rn">http://gph.is/2p9V1Rn</a></figcaption></figure><p>By adding more AI engines to the intelligent gateway, it can analyze not only videos but also voices or data from other sensors. We are also working on adding IM and Email notification to the <a href="https://github.com/DT42/BerryNet">BerryNet</a> project so you can get a notification when there is a dog showing up in the office meeting area (although, I guess a normal office probably won’t need this function).</p><blockquote>With BerryNet, IoT will not only stand for Internet of things but also Intelligence of Things.</blockquote><p>At DT42, we believe that bringing deep learning to edge devices is the key towards the future. It not only saves costs of data transmission and storage but also makes devices able to respond according to the events shown in the images or videos without connecting to the cloud. In the future, <a href="https://github.com/DT42/BerryNet">BerryNe</a>t will be a place to collect information, a center to analyze the signals locally and a smart brain for IoT devices.</p><p><strong><em>The project is licensed with GPL because we also believe that deep learning and AI will be</em></strong><a href="https://medium.com/@matelabs_ai/why-do-we-need-the-democratization-of-machine-learning-80104e43c76f"><strong><em> democratized for everyone</em></strong></a> [4]<strong><em> and every device.</em></strong></p><p><em>[1] </em><a href="https://github.com/DT42/BerryNet"><em>https://github.com/DT42/BerryNet</em></a><em><br>[2] </em><a href="https://arxiv.org/pdf/1512.00567.pdf"><em>https://arxiv.org/pdf/1512.00567.pdf</em></a><em><br>[3] </em><a href="https://pjreddie.com/media/files/papers/YOLO9000.pdf"><em>https://pjreddie.com/media/files/papers/YOLO9000.pdf</em></a><em><br>[4] </em><a href="https://l.facebook.com/l.php?u=https%3A%2F%2Fmedium.com%2F%40matelabs_ai%2Fwhy-do-we-need-the-democratization-of-machine-learning-80104e43c76f&amp;h=ATOsrwcnmKUhoVZNHAbbuOlijnTG9NQ8iWduQ-YbymfREAbcIoafOG_O_paCdGdSBDYa0gXmjSMuaikU7ZpQRWmojGNQHCCs3cwszxoXCMroHIuvmxMqE7NuwfNkrHciIptuZJ3t"><em>https://medium.com/@matelabs_ai/why-do-we-need-the-democratization-of-machine-learning-80104e43c76f</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=66f43609bc85" width="1" height="1" alt=""><hr><p><a href="https://medium.com/berrynet/run-object-detection-using-deep-learning-on-raspberry-pi-3-2-66f43609bc85">Run Object Detection using Deep Learning on Raspberry Pi 3 (2)</a> was originally published in <a href="https://medium.com/berrynet">BerryNet</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[BerryNet Now on Github]]></title>
            <link>https://medium.com/berrynet/berrynet-now-on-github-23d159d7fb5b?source=rss----fbba05dd98d---4</link>
            <guid isPermaLink="false">https://medium.com/p/23d159d7fb5b</guid>
            <category><![CDATA[raspberry-pi]]></category>
            <category><![CDATA[iot]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[news]]></category>
            <dc:creator><![CDATA[DeepThought]]></dc:creator>
            <pubDate>Tue, 09 Jul 2019 14:39:28 GMT</pubDate>
            <atom:updated>2017-05-15T09:10:26.617Z</atom:updated>
            <content:encoded><![CDATA[<h4>Deep Learning Gateway on Raspberry Pi</h4><p>We are very pleased to announce the release of BerryNet. Running intelligent analysis such as deep learning on Raspberry Pi is now a lot easier with the BerryNet. It can be used to turn your home into smart home with Raspberry Pi, a computing center which costs only $35! BerryNet turns Raspberry Pi 3 into an intelligent gateway. With the AI engines of BerryNet, no internet connection is required, even deep learning can be done locally on the Raspberry Pi 3 itself.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/613/1*Jt-XiIGb1QhnKcb8F8JXyw.png" /></figure><p>At DT42, we believe that bringing deep learning to edge devices is the trend towards the future. It not only saves costs of data transmission and storage but also makes devices able to respond according to the events shown in the images or videos without connecting to the cloud.</p><p>If you have any questions or feedback, please visit our <a href="https://groups.google.com/a/dt42.io/d/forum/berrynet">Google Groups</a>. We are fully committed to improve the BerryNet project and look forward to hearing from you!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=23d159d7fb5b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/berrynet/berrynet-now-on-github-23d159d7fb5b">BerryNet Now on Github</a> was originally published in <a href="https://medium.com/berrynet">BerryNet</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Christmas Gift：BerryNet 2.0 Available now]]></title>
            <link>https://medium.com/berrynet/christmas-gift-berrynet-2-0-available-now-c5fbff0ce5fc?source=rss----fbba05dd98d---4</link>
            <guid isPermaLink="false">https://medium.com/p/c5fbff0ce5fc</guid>
            <category><![CDATA[raspberry-pi]]></category>
            <category><![CDATA[news]]></category>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[DeepThought]]></dc:creator>
            <pubDate>Tue, 09 Jul 2019 14:38:55 GMT</pubDate>
            <atom:updated>2017-12-14T07:49:00.925Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QwvqeW6LnOYRKwpCfd-OPg.png" /></figure><p>DT42 delivers a Christmas gift for the BerryNet community.</p><p>Now you can build your own smart camera more easily with BerryNet 2. Our team have been working on <a href="https://medium.com/dt42/run-object-detection-using-deep-learning-on-raspberry-pi-3-1-55027eac26c3">BerryNet</a> project since we released it 6 months ago. You don’t have to wait for the shipment of Google AIY VisionKit, neither spend $249 for AWS DeepLens. Only one-step installation, BerryNet + Raspberry Pi + Movidius neural compute stick is the AI Kit for everyone.</p><h4>Here are the new feature for <a href="https://github.com/DT42/BerryNet">BerryNet 2</a></h4><p>* Support <a href="https://developer.movidius.com/">Movidius</a> neural compute stick.<br> * Supports for USB, RPi, and Nest cameras in both snapshot and stream modes.<br> * Faster detection backend reducing inference time to ~40%.<br> * Documentations and tutorials including detection transfer learning (Wiki pages).<br> * Data collector for saving snapshots and inference results for data analysis.<br> * DLModelBox: model packaging and management toolkit<br> * IM client: LINE.</p><p>In the near future, we will provide an easy-to-use training tool — Epeuva for our users. On Epeuva, makers can create customized AI models with their own data without any coding effort. For example, you can create an application that can specific detects your own dog, or a raccoon detector that alerts you when raccoons are eating all your fruits in your backyard.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*B1U7Kj3WhO4EKDRMEiGlqw.png" /></figure><p>BerryNet now provides more powerful visual intelligence system that doesn’t require access to cloud, so that deep learning can be done locally on your devices. No need to wait for the shipment from Google or Amazon, with BerryNet, you can turn your camera into intelligence camera now.</p><p>Visit <a href="https://github.com/DT42/BerryNet">BerryNet </a>on Github to try, only one step installation needed. Build it your own way, use AI to create more interesting applications.</p><p><em>[1]</em><a href="https://github.com/DT42/BerryNet"><em>BerryNet Github</em></a><em><br>[2]</em><a href="https://medium.com/dt42/run-object-detection-using-deep-learning-on-raspberry-pi-3-2-66f43609bc85"><em>BerryNet: Turn Raspberry Pi 3 Into Intelligent Gateway</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c5fbff0ce5fc" width="1" height="1" alt=""><hr><p><a href="https://medium.com/berrynet/christmas-gift-berrynet-2-0-available-now-c5fbff0ce5fc">Christmas Gift：BerryNet 2.0 Available now</a> was originally published in <a href="https://medium.com/berrynet">BerryNet</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The 3 trendiest AI kits in 2017 — A quick guide of Google Vision kit, DeepLens & BerryNet]]></title>
            <link>https://medium.com/berrynet/which-ai-kit-fits-your-needs-the-best-google-aiy-vision-kit-deeplens-berrynet-16aea8bfbe33?source=rss----fbba05dd98d---4</link>
            <guid isPermaLink="false">https://medium.com/p/16aea8bfbe33</guid>
            <category><![CDATA[makers]]></category>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[raspberry-pi]]></category>
            <category><![CDATA[blog]]></category>
            <dc:creator><![CDATA[DeepThought]]></dc:creator>
            <pubDate>Tue, 09 Jul 2019 14:38:28 GMT</pubDate>
            <atom:updated>2017-12-20T17:54:28.721Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/764/1*TC1oPLYjrTkUa0Zqe3ejpQ.png" /></figure><p>Last few weeks has been very exciting for us. Amazon introduced the first deep learning enabled video camera — <a href="https://aws.amazon.com/deeplens/">DeepLens</a>. Google announced their latest AIY Project — the <a href="https://aiyprojects.withgoogle.com/vision">Vision Kit</a>. At DT42, we always believe that bringing deep learning to edge devices is the key towards the future. We also believe AI technology should not be dominated only by big tech giants, but readily available for everyone. That is the reason why we released <a href="https://github.com/DT42/BerryNet">BerryNet[1] </a>project half a year ago. <a href="https://medium.com/dt42/run-object-detection-using-deep-learning-on-raspberry-pi-3-2-66f43609bc85">BerryNet</a> is the first AI Gateway FLOSS Project to release the power of AI on edge devices.</p><p>With these 3 latest awesome AI edge vision powerups — or I should say toys, you can build up your very own project using AI to solve your problem in your life. Let’s say if you want to build a monkey alert camera to prevent monkeys messing up with your backyard and eating up all your fruit. What’s the steps you need to take by using Google AIY Vision Kit, DeepLens or BerryNet?</p><p>Here we want to make a short instruction.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/415/0*qGOzZB-obXp15ii3." /><figcaption>Figure 1. Monkey alarm system</figcaption></figure><p>Figure 2 gives a brief illustration of the equipment and software that you will engage with using different tools.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/595/0*vD4axMr1vo76p5qe." /><figcaption>Figure 2. Major components of the Monkey alarm system</figcaption></figure><p>The whole Monkey alarm system includes five major components:Data receiver: a camera</p><p>(a) Data receiver: a camera<br>(b) Computation hardware: key hardware component for tensor computation<br>(c) Software system: including the deep learning libraries and the operating system running on local hardware.<br>(d) AI model: the deep learning model used for analyzing input data<br>(e) Alarm trigger system: deliver the detection results to users</p><p>Next we will explain more of the steps using the three tools separately.</p><p><strong>Google AIY vision kit</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/483/1*u5sbPwS1KDxa9boj9xGKdw.png" /><figcaption>Figure 3.<strong> </strong>Components of the system using vision kit</figcaption></figure><p>Hardware you need to prepare: Pi camera 2 (a) , Vision kit (b), Raspberry Pi zero w.</p><p>Steps:<br> 1 — Assemble the kit following the instructions from <a href="https://aiyprojects.withgoogle.com/vision#assembly-guide-6-turn-it-on-and-use-the-joy-detector-demo">AIY Project website</a>[2], and load the image (3)to SD card.<br> 2 — Train a deep learning model as a monkey detector (d) and compile it,<br> 3 — Load trained model to VisionBonnet to build a monkey detection<br> 4 — Use the SDK to build alarm trigger (e) and control it via Android App.</p><p>In the case that the object you want to detect is already bundled with the image, you can simply skip step 2.</p><p><strong>AWS DeepLens</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/560/0*ul418T8A-_ROvPOL." /><figcaption>Figure 4.<strong> </strong>Components of the system using DeepLens</figcaption></figure><p>Hardware you need to prepare: AWS DeepLens, this includes components (a), (b) and (c)</p><p>Steps:<br> 1 — Register, connect and set up DeepLens online.<br> 2 — Use AWS SageMaker to train a monkey detection model (d).<br> 2.1 Create a “monkey detection project” on the DeepLens console<br> 2.2 Import the model trained in step 2.1, and deploy the project to DeepLens<br> 3 — Use AWS Management Console to build alarm trigger (e).</p><p>By using AWS DeepLens, unlike the other two kits, you don’t need to prepare all the hardware yourself. However, this also limited the flexibility too.</p><p><strong>BerryNet</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/605/0*uHUgy_UlJZlh8-2P." /><figcaption>Figure 5.<strong> </strong>Components of the system using BerryNet</figcaption></figure><p>Hardware you need to prepare: Raspberry Pi 3 (b), an IP/Nest/Pi camera (a). You can also purchase Movidius Neural Compute Sticker for better inference performance. Steps:</p><p>1 — Train a deep learning model as a money detector (d)<br> 2 — Install and configure BerryNet (c) with the trained model on Raspberry Pi <br> 3 — Setup input client as data receiver (can be a pi camera, an IP camera or even a Nest camera), and output client as alarm trigger.</p><p>Currently, the model training requires users to setup environment manually. For example, following the <a href="https://pjreddie.com/darknet/yolo/">YOLO website</a>[3] to train the monkey detector. <strong>A new easy-to-use service, </strong><a href="http://www.dt42.io/epeuva/index.html#contact-section"><strong>Epeuva[4] </strong></a><strong>is coming soon to help customers train the model. </strong><a href="http://www.dt42.io/epeuva/index.html#contact-section"><strong>Click </strong></a><strong>to register for the early invitation.</strong></p><p>On Epeuva, you can bring your own data and customized AI models without any coding effort. By repeating step 1 users are easily to build a detection system they want.</p><p>We envision a world where deep learning and AI will be democratized for everyone and every device. The BerryNet project is licensed with GPL because we want to take AI from the ivory towers and make it accessible for all.</p><p>Computing has gone in massive cycles, shifting from centralized to distributed and back again. We believe edge AI is the key for developing more and more useful applications in the near future.</p><p><em>[1] </em><a href="https://github.com/DT42/BerryNet"><em>https://github.com/DT42/BerryNet</em></a><em><br>[2]</em><a href="https://aiyprojects.withgoogle.com/vision#assembly-guide-7-now-what"><em>https://aiyprojects.withgoogle.com/vision#assembly-guide-7-now-what</em></a><em><br>[3]</em><a href="https://pjreddie.com/darknet/yolo/"><em>https://pjreddie.com/darknet/yolo/</em></a><em><br>[4]</em><a href="http://www.dt42.io/epeuva/index.html#contact-section"><em>http://www.dt42.io/epeuva/index.html#contact-section</em></a></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fupscri.be%2F8f5f8b%3Fas_embed%3Dtrue&amp;dntp=1&amp;url=https%3A%2F%2Fupscri.be%2F8f5f8b&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=upscri" width="800" height="400" frameborder="0" scrolling="no"><a href="https://medium.com/media/c43026df6fee7cdb1aab8aaf916125ea/href">https://medium.com/media/c43026df6fee7cdb1aab8aaf916125ea/href</a></iframe><figure><a href="https://becominghuman.ai/artificial-intelligence-communities-c305f28e674c"><img alt="" src="https://cdn-images-1.medium.com/max/255/1*2f7OqE2AJK1KSrhkmD9ZMw.png" /></a></figure><figure><a href="https://upscri.be/8f5f8b"><img alt="" src="https://cdn-images-1.medium.com/max/255/1*v-PpfkSWHbvlWWamSVHHWg.png" /></a></figure><figure><a href="https://becominghuman.ai/write-for-us-48270209de63"><img alt="" src="https://cdn-images-1.medium.com/max/255/1*Wt2auqISiEAOZxJ-I7brDQ.png" /></a></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=16aea8bfbe33" width="1" height="1" alt=""><hr><p><a href="https://medium.com/berrynet/which-ai-kit-fits-your-needs-the-best-google-aiy-vision-kit-deeplens-berrynet-16aea8bfbe33">The 3 trendiest AI kits in 2017 — A quick guide of Google Vision kit, DeepLens &amp; BerryNet</a> was originally published in <a href="https://medium.com/berrynet">BerryNet</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Announcing our new product — BerryCat, A weather network powered by stray cats.]]></title>
            <link>https://medium.com/berrynet/announcing-our-new-product-berrycat-a-weather-network-powered-by-stray-cats-16fc83c77747?source=rss----fbba05dd98d---4</link>
            <guid isPermaLink="false">https://medium.com/p/16fc83c77747</guid>
            <category><![CDATA[cats]]></category>
            <category><![CDATA[weather]]></category>
            <category><![CDATA[funny]]></category>
            <category><![CDATA[raspberry-pi]]></category>
            <category><![CDATA[data]]></category>
            <dc:creator><![CDATA[DeepThought]]></dc:creator>
            <pubDate>Tue, 09 Jul 2019 14:38:09 GMT</pubDate>
            <atom:updated>2019-04-01T07:33:20.224Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>Announcing our new product — BerryCat, A weather network powered by stray cats.</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*p0yjCDXLPIagKS9VsY7ifA.png" /></figure><p>Here at<a href="https://github.com/DT42/BerryNet"> BerryNet</a>, we’re all about making AI democratized for everyone and every device.But what about the other animals on this planet? We are proud to announce our new product <a href="https://www.youtube.com/watch?v=aW6H9bCsbs4">BerryCat</a> — A BerryNet weather network powered by stray cats.</p><p>The mission of BerryCat is to create a Global Weather Data Network powered by stray cats which both cats and humans can benefit from it. BerryCat is a data network to humans to have micro-level understanding of the weather, while it is also a tool to cats to monetize the data they collect.</p><p>The key partners of BerryCat are</p><ul><li><strong>International Weather Foundation</strong> — combine satellite weather information and data from BerryCat network to provide integrated weather service</li><li><strong>Love Stray Cats Alliance</strong> — keep BerryCat devices running and help cats exchange tokens with food</li><li><a href="https://numbersprotocol.github.io/"><strong>Numbers</strong></a> — create and maintain the distributed weather data network</li></ul><p>A BerryCat set includes</p><ul><li>A Pi Camera to capture images of the sky</li><li>A Raspberry Pi Zero</li><li>Pre-installed and customized BerryNet to analyze sky images using AI</li><li>Long-lasting battery able to run for 30 days</li><li>And a beautiful collar with QR code to identify the cat</li></ul><p>This is how BerryCat system works. Animal shelter volunteers assembles the BerryCat kit and help cats wear it. The camera on the collar captures one image of the sky every hour. These sky images collected by cats are analyzed by the AI engine of BerryNet to determine whether it is raining, sunny or snowing. The analyzed results and GPS location will be signed and sent to the data network maintained by Numbers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*h2BvI4a78LIRELPe" /><figcaption>BerryCat system data flow</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*fzmifDkOj8CkfV3B" /><figcaption>The weather data collect by the cat will register to the map and form a micro-level weather network</figcaption></figure><p>Researchers and service providers can access the data in the network via API to create weather applications. The access of data is completely free to academic research and is $0.1 USD for accessing 100 data points to commercial usage. The net revenue of the data network is returned to our little data contributors — stray cats. Every cat will be rewarded with tokens every time when one data point is submitted to the network. The animal shelter can use the mobile App to scan the QR code on the collar to know how much has the cat earned and provide cat food accordingly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UPAj458hmiRGPw4nyJ4Rnw.png" /><figcaption>The stray cats generate income by collecting data, and earn food for themselves.</figcaption></figure><p>Weather is one of the most important topics in the 21st century. The drastic change of weather not only threaten our life, but also other living creatures in the planet. BerryCat is the first attempt in the world to create a shared data economy with cats, and it is going to bring positive changes to both cats and humans. This is just the first step; a similar data service for Dogs is under development. By combining the power of edge AI and data network, we believe technology can make our world a better place.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*XCrNqPPUkRvaAxzG" /><figcaption>The BerryDog is coming soon.</figcaption></figure><p><em>Special thanks to</em></p><ul><li><em>Location-based weather API powered by </em><a href="https://developer.tomtom.com/tomtom-maps-apis-developers"><em>TomTom</em></a><em> Maps API for developers to create better weather experience to users.</em></li><li><em>Blockchain technology powered by </em><a href="https://bitmark.com/en"><em>Bitmark</em></a><em> which turns cat’s data into digital property. This allows stray cats to monetize their data even further to have better benefit.</em></li></ul><p><strong>All profits directly benefit the animals.</strong></p><p>Learn more at <a href="https://www.youtube.com/watch?v=HgHWwvH9ivY">BerryCat video</a><br>Support us on<br>Github <a href="https://github.com/DT42/BerryNet">https://github.com/DT42/BerryNet</a><br>Twitter <a href="https://twitter.com/numbersprotocol">https://twitter.com/numbersprotocol</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=16fc83c77747" width="1" height="1" alt=""><hr><p><a href="https://medium.com/berrynet/announcing-our-new-product-berrycat-a-weather-network-powered-by-stray-cats-16fc83c77747">Announcing our new product — BerryCat, A weather network powered by stray cats.</a> was originally published in <a href="https://medium.com/berrynet">BerryNet</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>