Monthly Archives: February 2014

Declarative information gathering

Where does a AI get its knowledge? From the internet! Here I show how to connect up to Wikipedia and WolframAlpha to have access to incredible amounts of knowledge!

Threading Cortical Elements

The Raspberry Pi doesn’t have a lot of processing power. How do we assign intensive tasks like audio/visual systems? Here’s a simple howto on just that.

Automation: controlling appliances and lights

As I mentioned in the first post, I am using the CM19A to control some of my X10 Transceiver Modules. This could not be any simpler so let me describe how I do it: Before you plug in the CM19A, simply install mochad. bbx10node has a great blog on how to get it setup. One […]

Adding a face to an AI

Update 02/12/2014: I made a slightly better version using graphics that implement a little bit of the actual mouth movements (see here for code): So for a face, I thought I would try making some sort of realtime voice animating system. I made a very very simple one in python. Here is an example of […]

Creating a personality: chatterbots

This part is actually very easy – there is a fantastic API already available that does the job. Use this API and then all that needs to be done for the AI program is creating a function that feeds in the query to the robot and gets the response: In this example I use CLEVERBOT […]

See the motion detection + facial recognition in action!

See the STT and TTS in action!

The information from Wolfram and Wikipedia is in a section about Declarative knowledge which I’ll be posting up soon.

Visual information: facial recognition

Once again, this will be short and sweet. The code here is the most simple, it does not save any of the processed images. If people are interested in that I can post code that will save images of the faces with their features labeled, but I am excluding that now for clarity. Here is […]

Visual information: looking at surroundings

There are several aspects to looking at the surroundings: motion detection, light detection, face recognition. Motion will activate a lot of the processes (like face recognition) and the light detection is useful for being smart about turning on and off lights. Here is the basic code: It is pretty self explantory. A lot of this […]

Coding: Obfuscation vs Elegance

There is a joy in being opaque and mysterious because it makes you seem smart and cool for knowing something that nobody knows. Programming in high-level languages like C and Java don’t really give you the same kind of obfuscioness as programming in Assembly (PIC microcontroller, anyone?). However, for awhile people have been injecting complexity […]