Detection of ellipses