Face detection is very useful and important for many different disciplines. Even for the people future work, where the face detection will be used, the authors wanted to determine, whether it is advantageous to use the technology CUDA for detection faces. First, they implemented the Viola and Jones algorithm in the basic one-thread CPU version. Then the basic application is widened to the multi-thread CPU version. Finally, the face detection algorithm is also implemented for the GPU using CUDA technology. At the end, final programs are compared and the results are presented in this paper.