0% found this document useful (0 votes)
8 views16 pages

C02 Emission Detection Sample-2

Project
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views16 pages

C02 Emission Detection Sample-2

Project
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 16

C02 EMISSION

DETECTION

Submitted To: Revathy Miss Submitted By:Anjaleena M A


Department of computer application s6 BCA
And cyber Forensics

1
Introduction

The escalating environmental concerns


associated with vehicular emission
necessitate innovative solutions for
monitoring and mitigating carbon
dioxide(c02)emissions from vehicles. This
project is proposes an intelligent system for
c02 emission detection from vehicles.
Leveraging machine learning techniques and
integrated into a Django website. The system
aims to contribute to sustainable
transportation practices by providing real-time
monitoring and analysis of vechicle emissions.
2
ABSTRACT

• The escalating environmental concerns


associated with vehicular emission
necessitate innovative solutions for
monitoring and mitigating carbon
dioxide(c02)emissions from vehicles. This
project is proposes an intelligent system for
c02 emission detection from vehicles.
Leveraging machine learning techniques and
integrated into a Django website. The system
aims to contribute to sustainable
transportation practices by providing real-time
monitoring and analysis of vechicle emissions.
3
• Designs and trains machine learning
models to predict CO2 emissions based
on the collected data.Utilizes algorithms
to establish relationships between
various input features and CO2
output.Implements anomaly detection
mechanisms to identify unusual
emission patterns.
• Develops a user-friendly web interface
using Django for interacting with the
CO2 emission detection system.Allows
users, to monitor emissions. Store
predicted results in database for future
verification.
4
Module Description

 Admin
 User

5
Admin

 Full control over site


 Add/delete /update

6
User

 Register and login.


 Add vechicle details.
 Monitor emissions.
 Store predicted results in database
for future verification.

7
Existing System
 A typical passenger vechicles emits about 4.6
metric tons of carbon dioxide per year. This
number can vary based on a vechicles fuel,
economy, and the number of miles drivan per
year. The existing co2 emission system in
vehicles refers to the process of measuring and
reporting carbon dioxide emissions manually.
This typically involves using specific equipment
to sample the exhaust gases from vechicle’s
tailpipe during a controlled test. The collected
data is then analyzed to determine the amount
of carbon dioxide emitted by the vechicle.

8
Proposed System
 Intelligent Monitoring and Mitigation of
Vehicular Carbon Emissions: A Machine
Learning-Enabled Django Framework for
Analysis and Sustainable Transportation.

 This project proposes an intelligent system for


CO2 emission detection from vehicles,
leveraging machine learning techniques and
integrated into a Django website. The system
aims to contribute to sustainable
transportation practices by providing real-time
monitoring and analysis of vehicle emissions.
9
 Designs and trains machine learning
models to predict CO2 emissions based
on the collected data.Utilizes algorithms
to establish relationships between
various input features and CO2
output.Implements anomaly detection
mechanisms to identify unusual emission
patterns.

 Develops a user-friendly web interface


using Django for interacting with the CO2
emission detection system.Allows users,
to monitor emissions. Store predicted
results in database for future verification.
10
Source Code
 url.html

 from django.urls import path


import carb.views
urlpatterns=[
path('',carb.views.home,name='home'),
path('home', carb.views.home, name='home'),
path('adminn', carb.views.admin_rg, name='adminn'),
path('userr',carb.views.user_reg,name='userr'),
path('login0', carb.views.login0, name='login0'),
path('login', carb.views.login, name='login'),
path('admin_home', carb.views.admin_home,
name='admin_home'),
path('user_home', carb.views.user_home, name='user_home'),
path('logout', carb.views.logout, name='logout'),
path('user_reg', carb.views.user_reg, name='user_reg'),

11
Login.html
 <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Login</title>
<style>
/*Start Global Style*/
*{
box-sizing: border-box;
margin: 0;
padding: 0;
}
body{
background:#e9ebee;
display: flex;
justify-content: center;
align-items: center;
height:100vh;
font-family: sans-serif;
}
.container{
width: 80%;
margin: auto;
padding: 20px;
height:100%
}
.submit{
width: 100%;
margin: 30px 0;
padding: 10px;
border: none;
background-color: #9526a9;
color: #fff;
font-size: 20px;
cursor: pointer;
transition: 0.3s all ease-in-out;
}
.login ,.register{width: 50%}

/*Start Login Style*/

12
 .login{
float:left;
background-color: #fafafa;
height: 100%;
border-radius: 10px 0 0 10px;
text-align: center;
padding-top: 100px;
}
.login h1{
margin-bottom: 40px;
font-size: 2.5em;
}

input[type="email"] , input[type="password"] , input[type="text"]{


width: 100%;
padding: 10px;
margin-bottom: 30px;
border: none;
background-color: #eeeeef;
}
input[type="checkbox"]{
float: left;
margin-right: 5px;
}
.login span{
float: left
}
.login a{
float: right;
text-decoration: none;
color: #000;
transition: 0.3s all ease-in-out;
}
.login a:hover{color: #9526a9;font-weight: bold}
.login button{
width: 100%;
margin: 30px 0;
padding: 10px;
border: none;
background-color: #06BBCC;
color: #fff;
font-size: 20px;
cursor: pointer;
transition: 0.3s all ease-in-out;
}
13
 .login button:hover{
width:97%;
font-size: 22px;
border-radius: 5px;

}
.login hr{
width: 30%;
display: inline-block
}

.login p{
display: inline-block;
margin: 0px 10px 30px;
}
.login ul{
list-style: none;
margin-bottom:40px;
}
.login ul li{
display: inline-block;
margin-right: 30px;
cursor: pointer;
}
.login ul li:hover{opacity: 0.6}
.login ul li:last-child{margin-right: 0}
.login .copyright{
display: inline-block;
float: none;
}
/*Start Register Style*/
.register{
float: right;
background-image: linear-gradient(135deg, #00ffff 5%, #06BBCC 95%);
height: 100%;
color:#fff;
border-radius: 0 10px 10px 0;
text-align: center;
padding: 100px 0;
}
.register h2{
margin: 30px 0;
font-size: 50px;
letter-spacing: 3px
}
.register p{
font-size: 18px;
margin-bottom: 30px;
}
.register button{
background-color: transparent;
border: 1px solid #FFF;
border-radius: 20px;
padding: 10px 20px;
color: #fff;
font-size: 20px;
text-transform: uppercase;
transition:0.2s all ease-in-out;
}
.register button:hover{
color: #9526a9;
background-color: #fff;
cursor: pointer; 14
}
 </style>
</head>
<body>
<div class="container">
<div class="login">
<div class="container">
<h1>Login</h1>

<div style="color:blue;" align="center">


{% if messages %}
{% for msg in messages %}
{{ msg }}
{% endfor %}
{% endif %}
</div>

{% if mkn %}

<form method="post" action="{% url 'login0' %}" id="form1">


{% csrf_token %}
<input type="text" name="user_name" placeholder="Username" required>
<input type="password" name="pword" placeholder="Password" required>
<button form="form1">NEXT</button>
<button type="button" onclick="location.href='{% url 'home' %}'">Back</button>
</form>

{% else %}

<form method="post" action="{% url 'login' %}" id="form2">


{% csrf_token %}
<input type="number" name="otmp" placeholder="Enter OTP" required>
<button form="form2">Login</button>
<button type="button" onclick="location.href='{% url 'home' %}'">Back</button>
</form>

{% endif %}

</div>
</div>
<div class="register">
<div class="container">
<i class="fas fa-user-plus fa-5x"></i>
<h2 style="color:green">Welcome Back ,Friend!</h2>
<h3 style="color:orange">Enter your username and password and start journey with us</h3>

</div>
</div>
</div>
</body>
</html>

15
Thank
you

16

You might also like