Added basic object recognition, but it still isn't quite there yet.