Installer field guide for Hikvision and Dahua RTSP cameras: exact night Shutter, Gain, HLC/WDR, IR, and lens geometry settings to stop headlight glare from washing out license plates.
The most common field issue in ANPR installations is predictable: *"The camera reads every plate clearly during the day, but at night vehicle headlights turn the plate into a glowing white rectangle."*
In most cases neither the camera nor the OCR software is defective—the IP camera is simply running its factory general surveillance profile (1/25 s auto shutter + high AGC gain), which overexposes retro-reflective license plates under IR LEDs and headlights.
This installer guide covers RTSP main-stream URLs, night exposure parameters for Hikvision and Dahua cameras, and mounting geometry for reliable 24/7 ANPR with PlakaNet.
1. RTSP Main-Stream URL Templates
Always connect PlakaNet to the camera's Main Stream over wired LAN/PoE rather than low-bitrate substreams:
| Brand | Main-Stream RTSP Template | Default Port | Notes |
|---|---|---|---|
| Hikvision / HiWatch | rtsp://{user}:{password}@{camera-ip}:554/Streaming/Channels/101 | 554 | 101 = Main stream (102 substream degrades plate pixels) |
| Dahua / IMOU Pro | rtsp://{user}:{password}@{camera-ip}:554/cam/realmonitor?channel=1&subtype=0 | 554 | subtype=0 = Main stream |
| ONVIF Profile S | Vendor RTSP main stream path | 554 | Verify H.264/H.265 decode and static IP |
Security best practice: Never embed plaintext camera passwords in shared documents or screenshots. Store credentials solely inside PlakaNet's encrypted local credential store and use a dedicated read-only camera user.
2. Night Shutter, Gain, and HLC Parameter Table
An ANPR camera's job at night is freezing reflective plate characters, not brightening dark landscaping:
| Camera Parameter | Daytime Target | Night ANPR Target | Failure Symptom if Misconfigured |
|---|---|---|---|
| Shutter / Exposure | Auto or 1/250–1/1000 s | Manual `1/500–1/2000 s` | 1/25 s causes whiteout bloom and motion blur |
| Gain (AGC) | 0–30 | Cap at `35–50` | High ISO noise confuses 0/D and 8/B |
| HLC (High Light Comp.) | Off | On (Medium/High) | Headlight beams wash out surrounding plate contrast |
| 3D DNR | 30–50 | `20–40` (Low/Moderate) | Aggressive temporal DNR leaves ghost trails on moving plates |
| Smart IR | Auto | Balanced / Manual IR | Full-power IR at 3–4 m saturates reflective plates |
Separate Day and Night image profiles in Hikvision (*Scheduled/Auto-Switch*) or Dahua (*Profile Management*) so daytime color balance stays natural while night shutter stays locked at 1/500–1/2000 s.
3. Lens Focal Length & Angle Rules
- Maintain at least 120–150 px horizontal plate width at the read line (use 2.8–12 mm motorized varifocal lenses for 6–12 m gates rather than fixed 2.8 mm wide lenses).
- Keep horizontal and vertical angles below 25–30°.
- Next, wire dry-contact barrier triggers safely using our Nice, BFT & TAU barrier relay guide, explore reseller & installer terms, or inspect field scenarios.




