I am doing the project on counting the number of people in a video, so i created a virtual line to check if the centroid of the moving object has crossed a virtual line or not? But i do not know how to check it? Can anyone has code or any idea for this ? I really need it 🙁 Thanks so much
MATLAB: How to count the number of people enter a virtual line using Matlab
Computer Vision Toolboxcounting
Best Answer