SRS1
SRS1
a. Project Features:
The UIIT Waste Segregation System automates waste detection and classification using
CNN and OpenCV, ensuring efficient segregation into predefined categories like plastic,
paper, and organic. It features smart bins installed exclusively in the UIIT department,
managed through an admin-controlled mobile application. The system provides real-time
waste detection, secure database storage, and insightful analysis of waste disposal patterns.
Users interact with the bins for disposal, while the admin oversees operations via the app.
b. Stakeholders:
1. Primary Stakeholders:
2. Secondary Stakeholders:
Students and Staff: Regular users of the smart bins for waste disposal, benefiting from
an automated and efficient waste management process.
3. Operational Stakeholders:
System Developers: Responsible for maintaining and updating the software, ensuring
smooth operation of CNN, OpenCV, and database integrations.
Maintenance Team: Manages the physical upkeep of the smart bins and ensures
hardware functionality.
c. Functional Requirements:
The system shall detect and classify waste items into predefined categories, such as
plastic, paper, and organic, using CNN and OpenCV.
The system shall capture images of waste in real time using camera-equipped smart
bins.
The classification process shall provide results within 5 seconds of waste disposal.
The system shall provide a secure login interface for the admin to access and manage
the system.
The admin shall have access to real-time bin status, including waste levels and
classification reports.
The app shall allow the admin to update system configurations and view analytics on
waste disposal trends.
The app shall enable the admin to retrieve and export reports from the MySQL
database for analysis.
3. Data Management
The system shall log waste type and disposal time for every detected item in a
centralized MySQL database.
The system shall allow the admin to search, filter, and retrieve records based on
specific criteria.
The database shall support historical data storage for trend analysis and decision-
making.
4. System Scalability
d. Non-Functional Requirements:
1. Performance
The system shall achieve an accuracy rate of 95% or higher in waste classification.
Waste detection and classification processes shall not exceed 2 seconds per item.
2. Usability
The mobile application shall have an intuitive and user-friendly interface requiring
minimal training for admin users.
The system shall provide clear, error-free feedback for classification results and bin
statuses.
3. Security
Waste data stored in the database shall be protected against unauthorized access through
robust security protocols.
4. Reliability
The system shall operate without failure for 99.9% uptime, ensuring continuous service
for users.
The database shall have regular backup protocols to prevent data loss.
The system shall accommodate increasing waste data volume and additional bins without
performance degradation.
The system shall allow future upgrades to improve detection algorithms and add new
features.
6. Maintainability
The system shall include modular code for easy updates to the CNN model and OpenCV
configurations.
Logs and error reports shall be available to assist in troubleshooting and system
maintenance.
7. Accessibility
The system shall be accessible on devices with a modern web browser or a compatible
mobile operating system.
The admin interface shall be compliant with accessibility standards for ease of use.
e. Constraints:
1. System Constraints
Location-Specific Installation:
The system is limited to bins installed exclusively within the UIIT department and
cannot be deployed in other departments or external locations.
Detection Categories:
The waste classification system is designed to recognize and categorize specific types
of waste (e.g., plastic, paper, organic). Expansion to other waste types would require
additional model training.
Hardware Limitations:
The smart bins require camera sensors and sufficient processing power for real-time
waste detection, restricting their deployment to locations with adequate infrastructure.
2. Technological Constraints
Algorithm Dependency:
The system relies heavily on CNN for classification and OpenCV for image
processing. Poor training data or improper algorithm configurations may affect
detection accuracy.
Database Dependency:
The system uses MySQL for data storage, which may limit scalability if the data
volume or number of bins increases beyond the predefined capacity.
Network Requirements:
The mobile application and real-time waste detection require a stable internet
connection to ensure seamless communication between the bins and the admin
application.
3. Operational Constraints
Admin-Only Control:
Only the admin has access to the mobile application and its features. Regular users
cannot interact with the system beyond waste disposal.
Bin Maintenance:
Regular maintenance is required to ensure cameras and sensors in the bins are
functioning correctly, as hardware failure could disrupt the entire system.
Processing Speed:
The system must classify waste within 2 seconds of disposal to maintain efficiency and
user satisfaction.
4. Financial Constraints
Limited Budget:
The project is confined to a specific budget, which restricts the use of advanced
hardware or expansive infrastructure.
Maintenance Costs:
Ongoing maintenance of bins, software updates, and hardware replacement may be
constrained by funding availability.
5. Environmental Constraints
Indoor Deployment:
The bins are designed for indoor use within the UIIT department. Outdoor deployment
would require additional weatherproofing and durability considerations.
f. Functionality Classification:
Core Functionalities
These are essential features that enable the system's primary purpose of waste segregation and
management:
These features define how users (admin and staff) interact with the system:
g. Traceability:
1. Definition of Traceability:
Data Traceability: Tracks and logs waste detection data, including waste type,
disposal time, and bin ID.
System Activity Traceability: Maintains logs of admin interactions, bin statuses, and
system updates for monitoring and troubleshooting.
2. Goals of Traceability:
Accountability: Ensure the system records every waste item detected for monitoring
purposes.
Optimization: Identify inefficiencies in waste disposal processes through historical
data analysis.
Transparency: Provide clear records of waste segregation and disposal for
stakeholders..
3. Traceability Features:
Each waste detection instance is logged with a unique ID, including metadata such as
detection time, category, and bin ID.
Lifecycle Tracking:
Monitors the entire lifecycle of waste, from detection to its transfer or disposal.
Records actions performed by the admin, such as login timestamps, system updates,
and report generations
h. Use Case Diagram:
Register Usecase
Trigger: The admin actives the app and selects the "Register" option to create a new
account.
Preconditions: The admin must be on Register page.
Postconditions: 1.Admin receives a message of “Your account has been created
successfully.”
2.The app navigates to login page
Normal Flow: 1.The admin actives the app and selects the "Register" option.
2.The system displays a registration form with required fields
Name
Email
Phone
Password
Confirm Password
3.The admin fills in the form with valid information.
4.The admin submits the registration form.
5.The system validates the provided details.
6.If the details are valid, the system creates a new admin account and
displays a success message.
7.The admin is redirected to the login screen to log in with the newly
created account.
Exceptions: 1.If the email is invalid, the system prompts for correction.
2.If the password is weak, the system asks for a stronger one.
3.If the email is already registered, the system asks to use a different one or
log in.
4.If required fields are missing, the system alerts to fill them in.
5.If there's a server error or database issue, the system asks to try again
later.
Trigger: The admin logins the app or refreshes the bin status view to check the
current fill levels of the bins.
Preconditions: 1. The admin must be logged into the system.
2. The system is operational, and sensors are working to monitor bin fill
levels.
Postconditions: The admin is informed of the current status of all bins.
Normal Flow: 1.The admin opens and logins the app.
2.Admin navigates to the home page
3.The app fetches bin status data from the system.
4.The bin status (e.g., empty, partially full, full) is displayed on the app
interface.
Exception: 1,The app fails to connect to the system due to network or server issues.
2,One or more sensors fail to report accurate data due to hardware issues.
Trigger: The app generates an alarm when a bin is full or when a malfunction is
detected.
Preconditions: 1.The bin status monitoring system is active.
2.Sensors and app notifications are configured correctly.
Postconditions: The admin is aware of the issue and can take corrective action.
Normal Flow: 1.A bin reaches its maximum capacity (100%) or a malfunction is detected.
2.The system triggers a notification to the app.
3.The app receives the notification and processes it.
4.The app generates an alarm (sound or visual) to alert the admin.
5.The admin acknowledges the alarm or takes necessary action.
Exceptions: 1. If the system fails to send a notification, the app displays an error
message.
2. If the alarm doesn't trigger, the system logs the issue and notifies the
admin.
3. If the admin doesn't acknowledge the alarm, the app repeats it at
intervals.
4. If the app doesn't receive the notification, it retries and alerts the admin
once successful.
Trigger: A waste item is placed near the sensor, initiating the detection process. The
system captures and processes the material properties to identify the
waste type.
Preconditions: 1.Sensors and OpenCV are configured and calibrated correctly.
2.The waste material is placed in the detection area.
Logout App
Trigger: The admin logs out of the app to ensure the security of the system.
Preconditions: 1.The system is operational, and bins are actively collecting waste.
2.Sensors are accurately detecting the level of waste in each bin.
Postconditions: 1.The system successfully calculates the time taken for the bin to fill
completely.
2.The calculated filling time is stored in the database for future reference.
3.The admin app displays the filling time for each bin for monitoring and
analysis.
Normal Flow: 1.The system records the time when the bin starts collecting waste.
2.Sensors periodically update the fill level of the bin.
3.When a bin reaches its maximum capacity, the system records the time.
4.The system calculates the total time taken for the bin to fill completely.
5.The calculated filling time is stored in the database and displayed on the
admin app for monitoring.
Exceptions: 1.If the sensor fails to detect changes in the bin fill level, the system logs
the issue and alerts the admin.
2. If the time calculation process encounters an error, the system retries or
notifies the admin.
Postconditions: 1.A free bin is successfully assigned as a secondary bin for primary waste.
2.The admin app displays the updated bin allocation and statuses.
3.The system ensures continuous collection of primary waste without
overflow during the specific time period.
Normal Flow: 1.The system detects the high fill rate of the a bin during a specific time.
2.The system checks for an available free bin to assign as a secondary bin
for the bin which is 90% full.
3.secondary bin's lid is reconfigured to accept plastic waste.
4.The system updates the admin app with the new bin allocation and fill
status.
5.The primary and secondary bins continue collecting plastic waste until
reallocation is no longer required..
Exceptions: 1.If no free bin is available for reassignment, the system notifies the admin
to resolve the issue manually.
2.If reconfiguration of the secondary bin's lid fails, the system retries or
alerts the admin.
j. Block Diagram
Mobile App
Admin
Actor
Click createAccount( )
Mobile App
Actor
Admin
Select logout( )
Mobile App
Actor
Admin
Open mobileApp( )
Mobile App
Actor
Admin
Active mobileApp( )
Emptybin()
System
Actor system
Waste segregation
End detection( )
start sorting
Sort waste into bin
System
Complete detection( )
System
End calculation
Calculate bin filling time
System
Sort waste( )
end sorting
end updation
Start timer( )
Stop timer( )
System
Actor
Waste segregation system
Notifies on app
End notification ( )