Automatic semen extraction