How to create a Python script for real-time vehicle detection and counting?