The Master Algorithm Book Review

In The Master Algorithm by Pedro Domingos, the author has some interesting thoughts on the “master algorithm”. Just like physicists want to find a universal formula for everything, a similar quest is what some in the machine learning world are looking for, and could simplify or bring new insights to how the world works through collected data. Just as many useful algorithms can be used in different ways – for example a super simple neural net can find pi, or a neural net can tell the difference between a dog and a cat, why can’t there be one that could run all machine learning problems?

Continue reading “The Master Algorithm Book Review”

Human pose estimation with Python and Gluoncv

Human pose estimation is something useful for robotics/programming as you can see what position a person is in a picture. For last weekend’s Hackrithmitic I did an experiment for fun using computer vision pose estimation. To start with I found several possibilities with available libraries:

  • Tensorflow js has been used to say, don’t touch your face, but it takes a massive amount of cpu.
  • Openpose is a popular one, only licensed for noncommercial research use, and there is a Opencv example for it that doesn’t quite show how to use it.
  • AlphaPose is supposedly faster and has a more clear license and possibility for commercial use – if you want that as a possibility. I checked out the install instructions and worked but for “python3” instead of “python”. It also misses obvious step of installing cuda for your Nvidia system before running.
  • GluonCV is another, which seems more user friendly. This one I was able to get running in a few minutes with their example:
Continue reading “Human pose estimation with Python and Gluoncv”

Speech recognition made easy

There are numerous howtos for Raspberry Pi and other portable computer voice applications, like this one, but generally they are using Google’s voice api. This may work… when the wifi or network is working, but not only is this sending your voice to google, it requires payment for usage over a certain amount. Users of your robotic application may be not so thrilled when they see it is sending audio samples to Google, and that it does not even work if there is a wifi hiccup! Instead, let’s go through a simple on-device installation that works fairly accurately with no external dependencies!

Continue reading “Speech recognition made easy”