The Queue length detection module is designed to carry out the following functions:
- Count the number of people waiting in line within a certain time interval.
- Record the number of people waiting in line in a database.
- Plot the crowding in an observed area.
- Generate an event when threshold queue length is exceeded and record it to the Event protocol database.