Ported bob.ip.draw and bob.ip.gabor.