• Set up of Intel Joule and Real Sense Camera

    Brenda Armour06/16/2017 at 14:17 0 comments

    Before the camera arrived I noticed the board getting warm, So I installed the Heat Sink that came with the kit. To get the Intel Joule ready for the camera SDK there were a number of steps I had to take over a couple of days.

    Update the BIOS

    The steps can be found here. The pictures and screen shots were helpful in completing the upgrade.

    Create a Ubuntu SSO account and generate a SSH key

    After I created the account , I then looked at the instructions to generate the SSH key. As I am using a Windows 10 laptop, I downloaded Git for Windows to run the commands. Below is the result:

    Open up the id_rsa file in NotePad and copy the file to this screen. If you don't do this then the install of Ubuntu will not work.

    Choose a method to install Ubuntu

    I selected the second method. The first method did not work for me. The above link also contains a checklist of software and hardware you need. You need a USB hub because you will be using a wireless mouse and keyboard dongle, USB flash drive and also the camera. I spent time trying to get the second method to work. The system spit out messages ranging from there was a internal error to the hard drive was corrupted. I also noticed even with the heat sink installed , the unit was getting warm. To get back on track I flashed the BIOS with a newer version and booted from the USB dongle. VOILA - now its stable and working.

    This video was important to get Ubuntu installed. Instead of using Win32Disklmager you need to install Rufus which can be found here. The video is here.

    Below are my settings for Rufus:

    I have installed the Realsense SDK and examples. Next log will be running samples on the camera.

  • Changes to Node Red & Live Streaming to YouTube

    Brenda Armour06/07/2017 at 21:34 0 comments

    I changed the Node Red flow to automate the image taking process. I added a node called tableify that translates the array of tags and arrange it in a nice table in Freeboard. I am going to modify the python script to not only save the file with a unique name but also save the new image as Bubbles.jpg. Every time a new image is uploaded to DropBox the dashboard should be updated and "soon to be coming" a database with the tags and time stamp.

    The Live Streaming from YouTube works beautifully on the Raspberry Pi 3. You need to get a streaming key and if you follow this guide it should work ! You can share your live streaming to all world citizens. This guide is the best one I have found and had me up and running in a short period of time. As you can see you have to wait for the video stream to kick in but when it does it is amazing.

  • Where are the Starlings ?

    Brenda Armour06/05/2017 at 19:56 0 comments

    I only had short periods of time to get the camera outside over the weekend. This was mainly due to rain. The Starlings were in the field but when I left some bird feed only the crows came. So I decided to start setting up the Intel Joule. The power supply arrived but the RealSense camera will not arrive until June 14th.

    I had added my own USB B cable and decided to use Putty as the console. The first step was to connect the Intel Joule to my laptop and make note of the COM port. I already had the FTDI drivers and Putty installed from a different project.

    This step came from the guide . The link is here.

    Once Putty is running a command line I connected to our WiFi.

  • The Intel Joule 570X Developer's Kit has arrived !

    Brenda Armour05/30/2017 at 22:57 0 comments

    This is the best Road Test I have won. I The specs for this baby has blown me away. I have to order three components.

    1. A micro HDMI adapter

    2. A 12VDC power supply with a current capacity of at least 3 Amps (which I have visited several outlets and cannot find one in our tiny province)

    3. A Real Sense Camera that is compatible with the Intel Joule 570X.

    So these extra components may not arrive until early next week. But that is okay. I have this week to finish off the Raspberry Pi computer vision

  • The Crows Pay A Visit

    Brenda Armour05/28/2017 at 22:44 0 comments

    It is May 29th and I have a vacation day. So I have time for testing !

    So I have tested my domestic friends images and was impressed by the image processing and the identification of the breed of the animal.

    I processed this image with these results:

    Well with the exception of chicken coop ?? - it did identify the crow as a corvine bird. Below is a party of corvine birds visiting.

    This smaller more slick crow was identified as a Rook and American crow.

  • Node - Red Watson Visual Recognition

    Brenda Armour05/27/2017 at 22:23 0 comments

    I am using Blue Mix Node Red so I can use the Visual Recognition node. This needs to be automated so when OpenCV uploads an image to DropBox the tags are processed and sent to Dweet.io. The tags then should show in Freeboard as a text widget. Below is my Node Red Flow:

    The file inject node is for testing. I can pick up picture from DropBox on my laptop and send the picture to dweetio. I am so pleased about the ability of the node to determine the breed of the animal. Very impressive.

    Below is a test of Bubbles the cat on my work bench not letting me work !

    Now the tags that have been processed:

  • OpenCV 3, Python 2.7 and a Raspberry Pi 2

    Brenda Armour05/27/2017 at 15:58 0 comments

    Adrian Rosebrook writes code and blogs about OpenCV. His blogs are clear and informative. He is highly regarded as an expert. His website can be found here and if you are interested in installing OpenCV I would highly recommend you take a look. I have included the links to his code and tutorials. Yes I must change the "room status occupied" in the frame. As you can see...Ozzy loves playing catch.

    1. Install OpenCV 3 on your Raspberry Pi 2

    Be prepared to spend some time with your console. Compiling the code took more than 2 hours but I have to use WiFi. Do not skip a step because the install will fail. Make sure you test your installation as the last step ! I did not use my Raspberry Pi 3 because it performs well for Live Streaming to You Tube.

    2. Install and test your Raspberry Pi camera on OpenCV

    The code he uses may be downloaded at the bottom of the page. You can transfer the code to your Pi using Filezilla. Although I have used the camera on other projects , I went through the tutorial and found it very useful.

    3. Setting up Motion detection and Connecting to Dropbox

    Again the code may be downloaded at the bottom of the page.

    My biggest challenge was to get the Dropbox integration to work. Dropbox authentication website would not display and I knew Dropbox had changed since 2015. This was a Go or No Go to complete the project. I needed Dropbox to process the image. The access token for Wild Eye is available in Dropbox so the solution was to hard code this in. I left the original code and commented the lines out.

    # check to see if the Dropbox should be used
    if conf["use_dropbox"]:
            # connect to dropbox and start the session authorization process
            flow = DropboxOAuth2FlowNoRedirect(conf["dropbox_key"], conf["dropbox_secret"])
            #print "[INFO] Authorize this application: {}".format(flow.start())
            #authCode = raw_input("Enter auth code here: ").strip()
            # finish the authorization and grab the Dropbox client
            #(accessToken, userID) = flow.finish(authCode)
            accessToken = ("Your Access Token Goes here")
            client = DropboxClient(accessToken)
            print "[SUCCESS] dropbox account linked"

    I'll have more in pictures and videos soon. I'm hoping to catch some birds , cats or foxes with the camera.