Skip to content

This project aims to develop an IoT-based air quality detection system using an ESP32 microcontroller. This system will collect air quality data around residential areas, then the data will be analyzed to obtain air quality values in the area.

Notifications You must be signed in to change notification settings

Adittt17/Final_Project_Team_26_SIC

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Air Pollution Monitoring and Real-Time Mask Detection System

This project integrates air quality monitoring using an ESP32 sensor with a real-time mask detection application using a webcam, OpenCV, and deep learning. The system also provides visual and audio alerts based on environmental conditions and mask compliance.


Features

  • ESP32 Sensor Monitoring:

    • Measures temperature and humidity using DHT11 sensor.
    • Measures air pollution level using MQ135 sensor.
    • Sends sensor data periodically to a Flask backend API.
    • Controls an LED indicator based on environmental thresholds.
  • Real-Time Mask Detection:

    • Uses webcam for live video streaming.
    • Detects faces and predicts mask usage with a MobileNetV2-based model.
    • Combines sensor data with mask detection results.
    • Provides audio and visual alerts if masks are not worn when pollution or temperature is unsafe.
    • User interface built with Streamlit for easy monitoring and control.

Environmental Thresholds

  • Temperature: 23°C to 35°C
  • Humidity: 50% to 88%
  • Air Quality Index (from MQ135): Good if below 50 If any sensor reading is out of the ideal range, the LED on the ESP32 blinks, and alerts are shown in the app.

Dependencies

  • Python 3.x
  • TensorFlow / Keras
  • OpenCV
  • Streamlit
  • Flask
  • requests
  • playsound
  • imutils

Just let me know if you want it saved as a file or if you want me to add or modify anything!

About

This project aims to develop an IoT-based air quality detection system using an ESP32 microcontroller. This system will collect air quality data around residential areas, then the data will be analyzed to obtain air quality values in the area.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.7%
  • JavaScript 0.1%
  • C 0.1%
  • CSS 0.1%
  • C++ 0.0%
  • PowerShell 0.0%