Jakob Zeitler
  • Blog
  • Causality
  • About
  • Portfolio

Identifying Faces with a Raspberry Pi and Project Oxford

6/5/2015

0 Comments

 
After my talk at Microsoft yesterday, I got introduced to Paul Foster who is running a makeshift 'hackspace' for TechDays 2015. He showed me around his collection of Raspbeery Pis, Arduinos, receivers, rockets and more. We talked a bit and as I had two days left at TechDays and not too much to do I asked him if I could join in. He gave me Raspberry Pi and a camera and told me to get it running with Project Oxford's algorithm for face recognition. It took me about 4 hours and here is how you can build it, too.

You need a Raspberry Pi and a camera for example from the Pi Foundation as well as an internet connection. I implemented this project with Python 3, because it was preinstalled on my Pi.

First, connect your camera to the camera-flex-port. Start your Pi, run 'sudo raspi-config' in your shell and enable the camera. Open a Python editor and paste my code. Insert your subscription key into the requests. Now, you can run different calls to the projext oxford site. 

At the bottom of the code you find all the calls you need. You need to create a person group first with 'createPersonGroup'. Then, add a person to that person group with 'addPersonToGroup' which will take three pictures of you. Train the group with 'trainPersonGroup'. After the group has been trained successfuly with the pictures you took, you are ready to call 'identifyFace' and you should be greeted with 'WELCOME Jakob' after some API calls.

Obviously, my code is very static as the person name is fixed to 'Jakob' and the API calls are fixed to the Project Oxford site. Additionaly, it cannot handle multiple faces - but it works. 
0 Comments

Speaking at Microsoft about Clouds

5/24/2015

1 Comment

 
Having won the Cloud Innovation Award the IMAGINE Cup 2015 Finals in the United Kingdom this year, I got invited to speak at a conference running for 3 days in Reading about clouds and how I, as a student, would use and profit from it. 

I will speak about how much easier it is today to get a website running as compared to 10 years ago. Today, I cleaned out my old webspace where I have been hosting most of my old PHP projects on. I found an alpha-version of temboapp.de which I called "cards" back then. It was even written in PHP. I recall it to be very sophisticated, requesting most of the front-end parts via AJAX. I remember being very proud of at that time about my genius idea.

Back then, getting a PHP script to run took a lot of time. Most of the times, I used a webhoster, because I could not afford to get a whole computer just for my websites and my internet speed was unbelievably slow. With a webhoster, you first would have to check your environment first for what kind of PHP interpreter it is running. Then, you would need to create the database, note down the login details and hope for it not to crash when you insert a fuzzy SQL statement, because you did not check what SQL engine you were actually running. Nowadays, most of these tasks are automated as most of us do not need all and everything to be customisable to start out or run a small website.

We have traded customisation for simplicity which gives new and small projects a competitive edge. We do not have to buy, set up and maintain a server. Microsoft, Amazon and Rackspace will do this for you. Additionally, if you have a peak in visitors you do need to worry about scaling. For the beginning, most scaling can be done by increasing the number of processes you run in the cloud. Instead of buying another server, setting it up and worrying about it, you can focus on your product where you can create your true value. 

Now, that most businesses are migrating to some kind of cloud service, I wonder what the next big change in online hosting will be.
1 Comment
    Picture

    Jakob Zeitler

    There is no shortcut to happiness.

    Archives

    February 2020
    November 2019
    February 2019
    December 2018
    May 2018
    December 2017
    August 2017
    April 2017
    January 2017
    December 2016
    October 2016
    September 2016
    August 2016
    July 2016
    June 2016
    May 2016
    April 2016
    January 2016
    November 2015
    October 2015
    June 2015
    May 2015

    Categories

    All
    Clouds
    Computers
    Cooking
    Face Recognition
    Food
    Life
    Microsoft
    Music
    Open Source
    Project Oxford
    Python
    Raspberry Pi
    Sports
    Talks

    RSS Feed

Powered by Create your own unique website with customizable templates.