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:
NvOSD_LineParams *line_params = &display_meta->line_params; line_params->x1 = 0; line_params->y1 = MUXER_OUTPUT_HEIGHT/2; line_params->x2 = MUXER_OUTPUT_WIDTH; line_params->y2 = MUXER_OUTPUT_HEIGHT/2; line_params->line_width = 4; line_params->line_color.red = 0.0; line_params->line_color.green = 0.0; line_params->line_color.blue = 1.0; line_params->line_color.alpha = 0.7; display_meta->num_lines++;
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.