BadriRavi
BadriRavi

Reputation: 74

How to draw a Ellipse around a foreground object

working on my final year project on fall detection I have completed till background subtraction now I have to draw a ellipse around the foreground object how to do it?? please help!!

Upvotes: 0

Views: 314

Answers (2)

BConic
BConic

Reputation: 8980

There is an ellipse function just for that (link). You also have the circle function (link).

Upvotes: 1

herohuyongtao
herohuyongtao

Reputation: 50667

You're looking for cv::ellipse().

enter image description here

You can find some examples here.

Upvotes: 1

Related Questions