Powerful image tracking algorithm for quick recognition of faces and hands