Hello,
I am new on deep stream. I am using deep stream_test-2 app in that I want to count the person like if he cross the imaginary line which is drawn like:
If person cross this line in upper side then I want to update in-count++ and if down side then update out-count++, so how should I go please suggest me or if this is implemented in deep stream app so share me please…
please help me out to solve this problem thanks.
You would need to have two lines defined one for direction and other for actual line crossing. Using tracker id, u need to maintain a history based on which u need to have stochastic estimation of direction and using cosine check if its in the same direction. then plug the current coordinate of object in the LC equation. maintain the value whether +ve or -ve, and each frame after estimation of direction u need to check if its moving in configured direction and if there is a sign change i.e. +ve to -ve or vice versa when using the current object coordinate for LC, then actual crossing has happened. Its not a straight forward implementation as u need to do clustering and thresholding to avoid false +ve.
I would recommend to wait for official release or if u want to implement, u can proceed,