driver_behaviour library

Driver Behaviour

Provides APIs for analyzing and retrieving driver behaviour, driving events, and risk scores from sensor data.

This library covers the detection and analysis of driving events (such as harsh braking, acceleration, swerving), session statistics, and risk scoring.

Main features

  • DriverBehaviour – Main class for managing driver behaviour analysis sessions.
  • DriverBehaviourAnalysis – Represents a single analysis session, with statistics and event lists.
  • MappedDrivingEvent – Represents a mapped driving event with time, location, and event type.
  • DrivingScores – Provides risk scores for various driving behaviours.
  • DrivingEvent – Enum of supported driving events (e.g., harsh braking, tailgating).

More details

Classes

DriverBehaviour driver_behaviour
Manager for driver behaviour analysis: start/stop sessions and retrieve results.
DriverBehaviourAnalysis driver_behaviour
Analysis results for a single driver behaviour session.
DrivingScores driver_behaviour
Driving scores for a driving session.
MappedDrivingEvent driver_behaviour
Represents a mapped driving event detected during a driving session.

Enums

DrivingEvent driver_behaviour
Driving event types detected during a driving session.