How to get all the pixel values within the particular shape(ellipse, square) or within the particular coordinate range?

Viewed 47

I had drawn an ellipse that need to be marked as ROI. In that ROI, person detection needs to be implemented. I don't know how to mark that ellipse shape as ROI, so I decided to get all the pixel values of the ellipse to compare with the pixel value of the person's bounding box for better alerts.

Anyone help me to sort this out.

0 Answers
Related