Common-Lib

Common-lib contains Alerts.

Alerts

Types of alerts

  • ENTRY: Recognition has entered alert region.
  • PROXIMITY: Hazardous recognition in immediate path of vehicle while at speed.
  • PROXIMITY_VEHICLE: Too close to OR collision imminent with the leading vehicle based on the current speed.
  • CHANGE_DEVIATION: To represent change deviation for road signs.
 @objc public enum LSDAlertType : Int {
    case UNDEFINED = 0,
    ENTRY,
    PROXIMITY,
    PROXIMITY_VEHICLE,
    CHANGE_DEVIATION
}

Severity levels of alerts

For alerts, the following severity levels are supported:

  • INFO: Informative alert for developer to utilize.
  • NORMAL: Detection of interest entered alert region (ex. pedestrian detection while vehicle is not moving).
  • WARNING: Vehicle operator should be alerted and possibly take action (ex. within warning range of collision).
  • DANGER: Vehicle operator should take immediate action (ex. within alert range of collision).
@objc public enum LSDAlertSeverity : Int {
    case INFO = 0,
    NORMAL,
    WARNING,
    DANGER
}

Delegate method to receive alerts of class LSDPixelRecognitionDelegate

   @objc optional func alertReceived(alerts : [LSDAlert])

results matching ""

    No results matching ""