1 | initial version |
I have done function that calculates center points of contours using moments. But now i have 2 last troubles. 1. What should i do with persons eyes? Sometimes they detects with my program as blue-marked points. I've tried changing range values of HSV but it doesn't give a result. 2. The only one of blue-marked points disappears on some frames. How can i correct this?
image(1 eye detected):
image(2 eyes detected):