Web-based configuration and installation of DSM camera
Prerequisites:
- The device and the computer are on the same LAN segment, and the computer can successfully ping the device's local IP address.
- Alternatively, if the device has a WiFi module, switch it to AP mode; the computer connects to the AP hotspot and accesses the address
192.168.42.100. - The device is in the factory-shipped state (AI is licensed, and algorithms are loaded).
Flowchart

Physical Image

Operation Steps:
1. Camera Installation
1.1 Installation and Positioning The DSM camera must be installed on the dashboard in front of the steering wheel. The preferred installation position aligns with the steering wheel's centerline (indicated by line A in the figure below). If the ideal center point is inconvenient or obstructs the driver's view, the camera may be shifted to the left or right of the steering wheel; however, the shift must not extend beyond the outer edge of the steering wheel (indicated by line B in the figure below).


**Special attention must be paid to the installation angle of the DSM camera; the pitch angle must not exceed 30°, otherwise, the accuracy of the DSM algorithm will be compromised.

Diagram of DSM Camera Installation Angle 1.2 Mounting Clean the dashboard surface thoroughly, peel off the protective film from the base's 3M adhesive, and mount the unit. Press down firmly for approximately 30 seconds after attachment to ensure a secure bond free of air bubbles. If the mounting surface is not flat—creating a risk of shifting during long-term operation—use the included self-tapping screws to further secure the unit. 1.3 Horizontal Fine-Tuning Use the included L-shaped (hex) wrench to loosen the angle-locking screws on both sides. Adjust the DSM camera horizontally as needed, then retighten the screws to lock it in place.

1.4 Connect the camera's aviation connector to the video input port (or video input extension cable) on the rear panel of the main unit. While the CH3 (third channel) port is typically used, the camera may be connected to other ports depending on the specific application; the corresponding channel settings can be updated later during configuration. Tighten the locking nut to secure the connection. 

2. Enabling the Function
2.1 Open a web browser on your computer, enter the device's local network IP address, input the login password "Adm_123", and click "Login".

2.2 Click on the "General Settings" > "AI Settings" menu.


2.3 In the "AI Settings" menu, enable the DSM function; connect the DSM camera to the video input channel on the rear panel of the main unit; click "Save" to activate the DSM function, then restart the device. Main Unit

Note: The parameters for enabling driver identification and hard hat detection (located under the DSM-linked channel settings) only function when the DSM feature itself is enabled. Please choose whether to activate these two functions based on your specific requirements.
3. Camera Configuration
DSM camera channel display configuration (you may skip this step if the video feed is already visible in the Web DSM calibration menu).

3.1 Return to the previous level and click "Basic Settings" >>> "Encoding Settings".

3.2 Select "720P" (the corresponding resolution) for the camera channel type. In this example, the DSM camera is connected to channel CH3 on the main unit. Confirm and save the settings, then reboot the device to verify that the video feed appears on the DSM channel.
Note: The default specification for the DSM camera currently being shipped is 720P; please consult your sales representative if there are any changes.
4. Calibration Configuration
Click the "DSM Calibration" section in the web menu to open the calibration interface. The driver should sit in the driver's seat, maintain their usual driving posture while looking straight ahead, and click "Save" to complete the calibration.

5. Threshold and Sensitivity Adjustment
5.1 In the web menu, navigate to the "DSM Sensitivity Adjustment" section, check the "DSM Alarm Speed Condition" box, and enter the parameters for the "DSM Low-Speed Alarm Threshold" and "DSM High-Speed Alarm Threshold." Note: All types of DSM alarms are triggered only when the vehicle speed reaches the "DSM Low-Speed Alarm Threshold." When the vehicle speed reaches the "DSM High-Speed Alarm Threshold," the system applies the duration thresholds for specific distracted driving alarms (head turning left/right, looking up/down). By default, the high-speed duration threshold is shorter than the low-speed duration threshold; it is recommended to maintain this relationship when adjusting parameters. This design aims to increase the frequency of distracted driving alarms at higher speeds to help prevent accidents. Note: The "DSM High-Speed Alarm Threshold" applies only to distracted driving alarms (head turning left/right, looking up/down) to increase alarm frequency. All other DSM alarm types—as well as distracted driving alarms at lower speeds—are triggered based on the "DSM Low-Speed Alarm Threshold."

5.2 Enter the duration thresholds (for both low-speed and high-speed conditions) for distracted driving alarms: head turning left, head turning right, looking up, and looking down. Note: An initial alarm is triggered once the system detects the specific alarm condition (based on duration and angle) for the first time. If the detected state remains unchanged, the system proceeds to the interval process described in section 5.3

5.3 Enter the alarm interval

Note: After an alarm of a specific type occurs, if the detected state remains unchanged for this interval, the next alarm will be triggered. 5.4 Enter trigger angle values for distracted driving behaviors: head tilted left, head tilted right, head raised, head lowered. Note: The initial alarm is triggered when the corresponding behavior (angle and duration) is first detected; if the state remains unchanged, the system proceeds to the interval process described in 5.3.

5.5 Enter cumulative frame counts for detecting: eyes closed, making a phone call, smoking, seatbelt not fastened, hands off steering wheel, and using a mobile phone. Note: The initial alarm is triggered when the corresponding behavior is detected for the required duration; if the state remains unchanged, the system proceeds to the interval process described in 5.3. The default parameter is 0 (using the algorithm's internal default); entering a value here overrides the default. Values must be multiples of 25 (since 25 frames = 1 second); the minimum configuration is 1 second (25 frames) to trigger an alarm. To configure a trigger time longer than 1 second, multiply the desired duration in seconds by 25. For example, to configure the system to trigger an alarm after 2 seconds of detected eye-closing and 1 second of phone usage, simply enter the values 50 and 25 respectively, as shown in the image below:

After entering the values, click "Save" and restart the device for the changes to take effect. 5.6 Enter score threshold parameters for eye-closing, phone usage, smoking, and failure to fasten seatbelt.

Note: The score threshold determines the confidence level required for AI recognition. It is recommended to use the default values shown in the image; altering them may affect alarm sensitivity—lower values increase the risk of false positives, while higher values increase the risk of missed detections.
6. Alarm Testing
6.1 Alarm triggering in Test Mode (if this was already enabled during the initial ADAS parameter configuration, skip this step) In the Web menu, navigate to "AI Settings" > "Test Mode," then save the settings and reboot the device.

6.2 Alarm triggering in Normal Driving Mode: An alarm will occur when the configured thresholds are reached, provided the GPS antenna is connected and a GPS fix has been successfully established.
6.3 Log in to the V7 client to view alarm information.

6.3.1 OSD alarm messages on the real-time preview interface.

6.3.2 View real-time alarm messages on the Active Safety panel.

6.3.3 View historical alert messages in the Active Safety menu
