# Multiple class id cumulative counting in nvds\_analytics\_test

**URL:** <https://forums.developer.nvidia.com/t/multiple-class-id-cumulative-counting-in-nvds-analytics-test/141017>\
**Category:** DeepStream SDK\
**Created:** [July 8, 2020, 6:04pm UTC](https://forums.developer.nvidia.com/t/multiple-class-id-cumulative-counting-in-nvds-analytics-test/141017 "2020-07-08T18:04:28Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![yvainrouchaud24800](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@yvainrouchaud24800](https://forums.developer.nvidia.com/u/yvainrouchaud24800)\
**Post date:** [July 8, 2020, 6:04pm UTC](https://forums.developer.nvidia.com/t/multiple-class-id-cumulative-counting-in-nvds-analytics-test/141017/1 "2020-07-08T18:04:28Z")

</div>

Hi, I am working on jetson nano, deepstream 5.0, tensorrt 7.1.0 jetpack 4.4 DP  
I would like to count more than one object class id in the line crossing cumulative counting section of the config file, on the same stream.

I have tried to duplicate this section

[line-crossing-stream-0]  
enable=1  
#Label;direction;lc  
line-crossing-Entry=900;540;500;540;760;1080;760;0  
line-crossing-Exit=900;540;1200;540;1100;1080;1100;0  
class-id=2

with something like

[line-crossing-stream-0]  
enable=1  
#Label;direction;lc  
line-crossing-Entry=900;540;500;540;760;1080;760;0  
line-crossing-Exit=900;540;1200;540;1100;1080;1100;0  
class-id=2

[line-crossing-stream-0]  
enable=1  
#Label;direction;lc  
line-crossing-Entry\_1=900;540;500;540;760;1080;760;0  
line-crossing-Exit\_1=900;540;1200;540;1100;1080;1100;0  
class-id=0

to count both pedestrians and cars in new variables, without success.

---

<div class="post-metadata">

**Author:** ![bcao](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/bcao/32/14043_2.png) [@bcao](https://forums.developer.nvidia.com/u/bcao)\
**Post date:** [July 14, 2020, 7:48am UTC](https://forums.developer.nvidia.com/t/multiple-class-id-cumulative-counting-in-nvds-analytics-test/141017/3 "2020-07-14T07:48:42Z")

</div>

> [@yvainrouchaud24800](#):
>
> more than one object class id

In the upcoming release, we will support multiple class count by setting class-id=2;0

---

<div class="post-metadata">

**Author:** ![yvainrouchaud24800](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@yvainrouchaud24800](https://forums.developer.nvidia.com/u/yvainrouchaud24800)\
**Post date:** [July 14, 2020, 9:53am UTC](https://forums.developer.nvidia.com/t/multiple-class-id-cumulative-counting-in-nvds-analytics-test/141017/4 "2020-07-14T09:53:22Z")

</div>

Do you know when it should Come ?

---

<div class="post-metadata">

**Author:** ![bcao](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/bcao/32/14043_2.png) [@bcao](https://forums.developer.nvidia.com/u/bcao)\
**Post date:** [July 14, 2020, 10:04am UTC](https://forums.developer.nvidia.com/t/multiple-class-id-cumulative-counting-in-nvds-analytics-test/141017/5 "2020-07-14T10:04:22Z")

</div>

Very soon, pls wait for the official announcement.

---

<div class="post-metadata">

**Author:** ![yvainrouchaud24800](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@yvainrouchaud24800](https://forums.developer.nvidia.com/u/yvainrouchaud24800)\
**Post date:** [August 21, 2020, 1:42pm UTC](https://forums.developer.nvidia.com/t/multiple-class-id-cumulative-counting-in-nvds-analytics-test/141017/7 "2020-08-21T13:42:14Z")

</div>

Hi, it seems that deepstream has been released, but I still have the same issue.

---

<div class="post-metadata">

**Author:** ![bcao](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/bcao/32/14043_2.png) [@bcao](https://forums.developer.nvidia.com/u/bcao)\
**Post date:** [August 24, 2020, 8:03am UTC](https://forums.developer.nvidia.com/t/multiple-class-id-cumulative-counting-in-nvds-analytics-test/141017/8 "2020-08-24T08:03:19Z")

</div>

Hey, could you create a new topic for the issue. And you can share your config file with us to check.

---

<div class="post-metadata">

**Author:** ![TomNVIDIA](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/tomnvidia/32/14181_2.png) [@TomNVIDIA](https://forums.developer.nvidia.com/u/TomNVIDIA)\
**Post date:** [October 12, 2021, 4:16pm UTC](https://forums.developer.nvidia.com/t/multiple-class-id-cumulative-counting-in-nvds-analytics-test/141017/9 "2021-10-12T16:16:48Z")

</div>

Closed on October 12, 2021, 4:16pm UTC


