Spaces:
Running
Running
| # ββ Red-light running βββββββββββββββββββββββββββββββββββββββββββββββββββββ | |
| # Enable stop-line crossing detection. Set the fraction of frame height where | |
| # the stop line appears in your camera's view (0 = top, 1 = bottom). | |
| RED_LIGHT_ENFORCEMENT=true | |
| STOP_LINE_FRAC=0.6 | |
| # ββ Wrong-side driving ββββββββββββββββββββββββββββββββββββββββββββββββββββ | |
| # Motion-based enforcement (video only). Set the direction legal traffic flows | |
| # in your camera's image space: down | up | left | right | |
| WRONG_SIDE_ENFORCEMENT=true | |
| WRONG_SIDE_DIRECTION=down | |
| # ββ Plate OCR (TrOCR) βββββββββββββββββββββββββββββββββββββββββββββββββββββ | |
| # OFF by default. Loading TrOCR can exceed a 512MB host's RAM and the OS kills | |
| # the worker (hangs the request). Only set true on a host with β₯2GB RAM. | |
| # OCR_ENABLED=true | |
| # ββ Illegal parking zones βββββββββββββββββββββββββββββββββββββββββββββββββ | |
| # JSON array of no-parking polygons. Each polygon is a list of [x, y] fractions | |
| # of the frame (0.0β1.0, top-left origin). Example marks both road shoulders: | |
| PARKING_ZONES=[ [[0.0,0.72],[0.35,0.72],[0.35,1.0],[0.0,1.0]], [[0.65,0.72],[1.0,0.72],[1.0,1.0],[0.65,1.0]] ] | |
| # Set to [] to disable parking detection: | |
| # PARKING_ZONES=[] | |
| # ββ MongoDB Atlas βββββββββββββββββββββββββββββββββββββββββββββββββββββββββ | |
| # Get this from: cloud.mongodb.com β Cluster β Connect β Drivers β Python | |
| MONGODB_URI=mongodb+srv://<user>:<password>@<cluster>.xxxxx.mongodb.net/?retryWrites=true&w=majority&appName=<AppName> | |
| MONGODB_DB=netra | |