How to show dashed ellipse around face using OpenCV using Python

I am trying to detect faces which I was able to do it but I also would like to ask how can I show something like this shown below in the picture:


Can anyone please help or guide me with it?