Python wrappers for perception code.