I want to count number of people crossing a line from either side.
I have a camera that is placed on ceiling and shooting for the floor where the line is (So camera sees just top of people heads; and so it is more of object detection than people detection). Is there any sample solution for this problem or similar problems like this? So I can learn from them?
More than one person is crossing the line at any moment
did you search on google and github
I agree with @sturkmen that people should put in some serious effort ... I mean this must be one of the most solved computer vision tasks around there ... even this forum has a search option that contains several solutions for this ...