Working towards automated detection of gravitational lenses