Hi guys, this is my first time working on the projects like this but I usually work on web development (backend).
So I got the gen2-cumulative-object-counting project from the official sources GitHub page and custom-sized it a lot. The main purpose of my project is to count how many people entered and went out of the room, and should send the collected data every 5 minutes. I implemented these functions everthing is working fine but the streaming is so laggy and because of that not counting correctly. I'm using an OAK-D PoE camera for my project. This project is for production purposes. Please help me in advance, I need your help guys. Here's the basic understanding of the project if a person passes both green lines it should count +1 or -1
So why it's working so slowly? is there any optimizations I should do or do some testing? Every thing is working fine but so slow