Face recognition based on fractal dimension