You are on page 1of 2

Unified Modeling Language:

UML is a language that will visually represent the system and its components by pictorial
representation. This will help the user to represent, maintain, alter the information about the
system. This will contain various types of entities like actors, roles, actions, artifacts and
classes.
We also use the Unified Modeling Language Diagrams (UML DIAGRAMS) to portray the
behavior and structure of a system. There are various types of UML diagrams and they as
follows
Use Case Diagram
Class Diagram
Object Diagram
Component Diagram
Activity Diagram
Sequence Diagram
Collaboration Diagram
State Chart Diagram
Deployment Diagram

USE CASE:
Use case diagrams are a set of use cases, actors, and their relationships. They
represent the use case view of a system. Use Case diagram contains actors, use cases,
relationships and a system boundary
In the above use case, the actor is accessing the system boundary called as
Drowsiness Detection in which Eye detection and the Fatigue of a driver are Use Cases.

ACTIVITY DIAGRAM:
Activity diagram describes the flow of control in a system. It consists of activities and links.
The flow can be sequential, concurrent, or branched. These are used to visualize the flow of
controls in a system. It is prepared to have an idea of how the system will work when
executed
In the above activity diagram, there are four phases likely named a s User,
Input(camera), System, Output (Display and sound). The user will open application and then
it will capture frame of the driver. The system will preprocess it and it will detect the eyes
and then check the eye state that will project the driver fatigue. The decision box will make
the system to do the assigned work.

COMPONENT DIAGRAM:
Component diagram describes the organization and wiring of the physical
components in a system. This will also help the user to make out the necessity of various
components in the system.
In the above component diagram, there are various components like System, Camera,
Fatigue detector, Warning alarm. When there is no fatigue detected the loop will continue and
if the fatigue is detected then the alarm will be revoked.

DEPLOYMENT DIAGRAM:
Deployment diagrams are mainly used by system engineers. These diagrams are used
to describe the physical components (hardware), their distribution, and association. These
can be visualized as the hardware components/nodes on which the software components
reside. These are used to spectate the following parameters
Performance
Scalability
Maintainability
Portability
The above deployment diagram is depicting the phases of deployment from start node (User)
to the end node (Alarm). The fatigue will be playing as the relationship between the nodes int
decision making of the system.

You might also like