Skip to main content

Optimizing Stream

Stream can be used on a wide variety of ALPR use-cases. Please see the suggestions below to get the most out of Stream.

  1. eFPS Based on Vehicle Speed. You can set the eFPS based on the speed of the vehicles.
    • For vehicles traveling <30 mph โ†’ set the eFPS to 4-5.
    • For vehicles traveling 30-60 mph โ†’ set eFPS to 8-10.
    • For vehicles traveling >60 mph โ†’ set eFPS to 12.
    • To compute eFPS, divide the camera FPS by the Sample Rate that you set in Stream. So for example, if the camera has 30 FPS, then set sample=6 to get an eFPS = 5.
  1. Time-lapse Videos. If you are processing time-lapse videos using Stream, then itโ€™ll be important for Stream to analyze every frame or every other frame. Therefore, set Sample Rate to 1 or 2.

    • To expedite the webhooks, set webhook_image = no so you are not sending any images in the webhooks.
    • Reduce the max_prediction_delay parameter to 0.5-2 seconds.
  2. Immediate ALPR Results. Some ALPR projects require webhooks to be sent over to an internal system to get alerts, open a parking gate, etc.

  1. Stream Hardware. Please go here to see the Stream hardware recommendations.
    • If CPU/RAM utilization is very high on your current hardware, you can reduce the camera FPS and the Sample Rate.
    • If the ALPR results are not as desired, then you may need a stronger machine